refs #485, refs #605 make clear when we use process events just to refresh GUI

This commit is contained in:
Klaus Basan
2016-03-13 18:17:02 +00:00
committed by Mathew Sutcliffe
parent f124412896
commit f1ace9dde0
5 changed files with 14 additions and 6 deletions

View File

@@ -103,7 +103,7 @@ void SwiftGuiStd::performGracefulShutdown()
this->ui->comp_MainInfoArea->dockAllWidgets();
// allow some other parts to react
QApplication::processEvents(QEventLoop::AllEvents, 100);
sGui->processEventsToRefreshGui();
// tell GUI components to shut down
emit requestGracefulShutdown();
@@ -115,7 +115,7 @@ void SwiftGuiStd::performGracefulShutdown()
}
// allow some other parts to react
QApplication::processEvents(QEventLoop::AllEvents, 100);
sGui->processEventsToRefreshGui();
}
void SwiftGuiStd::closeEvent(QCloseEvent *event)