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:
parent
20ea7ac44f
commit
ab62430785
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user