mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-25 02:05:43 +08:00
This commit is contained in:
committed by
Mathew Sutcliffe
parent
f124412896
commit
f1ace9dde0
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user