Merge pull request #5472 from leoetlino/formatting
Qt: Fix code formatting
This commit is contained in:
commit
0408c99884
|
@ -84,13 +84,13 @@ void GeneralPane::CreateBasic()
|
||||||
m_combobox_speedlimit->addItem(tr("Unlimited"));
|
m_combobox_speedlimit->addItem(tr("Unlimited"));
|
||||||
for (int i = 10; i <= 200; i += 10) // from 10% to 200%
|
for (int i = 10; i <= 200; i += 10) // from 10% to 200%
|
||||||
{
|
{
|
||||||
QString str;
|
QString str;
|
||||||
if (i != 100)
|
if (i != 100)
|
||||||
str.sprintf("%i%%", i);
|
str.sprintf("%i%%", i);
|
||||||
else
|
else
|
||||||
str.sprintf("%i%% (Normal Speed)", i);
|
str.sprintf("%i%% (Normal Speed)", i);
|
||||||
|
|
||||||
m_combobox_speedlimit->addItem(str);
|
m_combobox_speedlimit->addItem(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
speed_limit_layout->addRow(tr("&Speed Limit:"), m_combobox_speedlimit);
|
speed_limit_layout->addRow(tr("&Speed Limit:"), m_combobox_speedlimit);
|
||||||
|
|
Loading…
Reference in New Issue