mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-09 11:06:01 +08:00
refs #199, removed reEmitSignal for time being.
* Discussion: https://dev.vatsim-germany.org/issues/199#note-11 * Turned widgetGuiStarted / Terminated in more generic method
This commit is contained in:
@@ -220,7 +220,7 @@ void MainWindow::init(GuiModes::CoreMode coreMode)
|
||||
connect = this->connect(this->m_rt->getIContextAudio(), &IContextAudio::audioTestCompleted, this, &MainWindow::audioTestUpdate);
|
||||
Q_ASSERT(connect);
|
||||
Q_UNUSED(connect); // suppress GCC warning in release build
|
||||
|
||||
|
||||
// start timers, update timers will be started when network is connected
|
||||
this->m_timerContextWatchdog->start(2 * 1000);
|
||||
|
||||
@@ -241,7 +241,7 @@ void MainWindow::init(GuiModes::CoreMode coreMode)
|
||||
this->initContextMenus();
|
||||
|
||||
// starting
|
||||
emit this->m_rt->getIContextApplication()->widgetGuiStarting();
|
||||
emit this->m_rt->getIContextApplication()->notifyAboutComponentChange(IContextApplication::ComponentGui, IContextApplication::ActionStarts);
|
||||
|
||||
// do this as last statement, so it can be used as flag
|
||||
// whether init has been completed
|
||||
|
||||
Reference in New Issue
Block a user