1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Remove space after if

This commit is contained in:
DJWarmonger 2019-07-30 11:00:44 +02:00
parent 20ea7ac44f
commit ab62430785
2 changed files with 3 additions and 3 deletions

View File

@ -50,12 +50,12 @@ MainWindow::MainWindow(QWidget * parent)
QSettings s(Ui::teamName, Ui::appName);
auto size = s.value("MainWindow/Size").toSize();
if (size.isValid())
if(size.isValid())
{
resize(size);
}
auto position = s.value("MainWindow/Position").toPoint();
if (!position.isNull())
if(!position.isNull())
{
move(position);
}

View File

@ -49,7 +49,7 @@ void CModListView::setupModsView()
QSettings s(Ui::teamName, Ui::appName);
auto state = s.value("AllModsView/State").toByteArray();
if (!state.isNull()) //read last saved settings
if(!state.isNull()) //read last saved settings
{
ui->allModsView->header()->restoreState(state);
}