Skip to content

Commit 7af9b85

Browse files
ilaripihartoj
authored andcommitted
remove commented-out code, plus formatting fix
1 parent 456f99f commit 7af9b85

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

projects/gui/src/gamesettingswidget.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ GameSettingsWidget::GameSettingsWidget(QWidget* parent)
5252
tc.setTimePerTc(300000);
5353
}
5454

55-
//ui->m_timeControlBtn->setText(m_timeControl.toVerboseString());
5655
ui->m_timeControlBtn->setText(timeControlText());
5756

5857
connect(ui->m_browseOpeningSuiteBtn, &QPushButton::clicked, this, [=]()
@@ -474,7 +473,9 @@ void GameSettingsWidget::showTimeControlDialog()
474473
}
475474
accepted = true;
476475
}
477-
} else {
476+
}
477+
else
478+
{
478479
TimeControlDialog dlg(m_timeControl[Chess::Side::White],
479480
this->parentWidget());
480481
if (dlg.exec() == QDialog::Accepted)

0 commit comments

Comments
 (0)