Merge pull request #5472 from leoetlino/formatting

Qt: Fix code formatting
This commit is contained in:
JosJuice 2017-05-24 13:55:14 +02:00 committed by GitHub
commit 0408c99884
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);