Qt: Fix code formatting

This commit is contained in:
Léo Lam 2017-05-24 13:09:05 +02:00
parent 289005f702
commit b6db4f22b5
1 changed files with 6 additions and 6 deletions

View File

@ -84,13 +84,13 @@ void GeneralPane::CreateBasic()
m_combobox_speedlimit->addItem(tr("Unlimited"));
for (int i = 10; i <= 200; i += 10) // from 10% to 200%
{
QString str;
if (i != 100)
str.sprintf("%i%%", i);
else
str.sprintf("%i%% (Normal Speed)", i);
QString str;
if (i != 100)
str.sprintf("%i%%", i);
else
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);