mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Style, in CGuiApplication sGui can be used as guard (no QPointer needed)
This commit is contained in:
@@ -974,13 +974,8 @@ namespace BlackCore
|
||||
// info that we will shutdown
|
||||
emit this->aboutToShutdown();
|
||||
|
||||
// before marked as shutdown, otherwise URL
|
||||
if (m_networkWatchDog)
|
||||
{
|
||||
m_networkWatchDog->gracefulShutdown();
|
||||
}
|
||||
|
||||
// mark as shutdown
|
||||
if (m_networkWatchDog) { m_networkWatchDog->gracefulShutdown(); }
|
||||
m_shutdown = true;
|
||||
|
||||
// save settings (but only when application was really alive)
|
||||
@@ -1035,11 +1030,7 @@ namespace BlackCore
|
||||
}
|
||||
|
||||
emit this->setupHandlingCompleted(available);
|
||||
|
||||
if (m_signalStartup)
|
||||
{
|
||||
emit this->startUpCompleted(m_started);
|
||||
}
|
||||
if (m_signalStartup) { emit this->startUpCompleted(m_started); }
|
||||
}
|
||||
|
||||
void CApplication::onStartUpCompleted()
|
||||
|
||||
Reference in New Issue
Block a user