Refactoring. Take the dialog result directly from exec() function.
--HG-- branch : release
This commit is contained in:
parent
b2ed7d9db4
commit
ed76857cea
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user