mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +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()
|
||||
|
||||
@@ -334,16 +334,16 @@ namespace BlackCore
|
||||
|
||||
//! \name Direct access to contexts if a CCoreFacade has been initialized
|
||||
//! @{
|
||||
const Context::IContextNetwork *getIContextNetwork() const;
|
||||
const Context::IContextAudio *getIContextAudio() const;
|
||||
const Context::IContextNetwork *getIContextNetwork() const;
|
||||
const Context::IContextAudio *getIContextAudio() const;
|
||||
const Context::IContextApplication *getIContextApplication() const;
|
||||
const Context::IContextOwnAircraft *getIContextOwnAircraft() const;
|
||||
const Context::IContextSimulator *getIContextSimulator() const;
|
||||
Context::IContextNetwork *getIContextNetwork();
|
||||
Context::IContextAudio *getIContextAudio();
|
||||
Context::IContextApplication *getIContextApplication();
|
||||
Context::IContextOwnAircraft *getIContextOwnAircraft();
|
||||
Context::IContextSimulator *getIContextSimulator();
|
||||
const Context::IContextSimulator *getIContextSimulator() const;
|
||||
Context::IContextNetwork *getIContextNetwork();
|
||||
Context::IContextAudio *getIContextAudio();
|
||||
Context::IContextApplication *getIContextApplication();
|
||||
Context::IContextOwnAircraft *getIContextOwnAircraft();
|
||||
Context::IContextSimulator *getIContextSimulator();
|
||||
//! @}
|
||||
|
||||
// ----------------------- setup data ---------------------------------
|
||||
|
||||
Reference in New Issue
Block a user