Refactoring. Take the dialog result directly from exec() function.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2017-04-19 14:06:48 +03:00
parent b2ed7d9db4
commit ed76857cea

View File

@ -1184,6 +1184,5 @@ int MainWindowsNoGUI::ContinueIfLayoutStale()
QGridLayout* layout = static_cast<QGridLayout*>(msgBox.layout());
SCASSERT(layout != nullptr)
layout->addItem(horizontalSpacer, layout->rowCount(), 0, 1, layout->columnCount());
msgBox.exec();
return msgBox.result();
return msgBox.exec();
}