mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
refs #883, class for storing the launcher state
* removed DBus setting (causing crash as it was shared among launcher/pilot client, so using cache) * also remember UI values
This commit is contained in:
committed by
Mathew Sutcliffe
parent
92100c85f7
commit
d918ee4cfd
@@ -13,7 +13,7 @@
|
||||
#define BLACKCORE_COREFACADE_H
|
||||
|
||||
#include "blackcore/blackcoreexport.h"
|
||||
#include "blackcore/application/applicationsettings.h"
|
||||
#include "blackcore/data/launchersetup.h"
|
||||
#include "blackcore/vatsim/vatsimsettings.h"
|
||||
#include "blackmisc/identifier.h"
|
||||
#include "blackmisc/settingscache.h"
|
||||
@@ -165,12 +165,12 @@ namespace BlackCore
|
||||
private:
|
||||
bool m_initalized = false; //!< flag if already initialized
|
||||
bool m_shuttingDown = false; //!< flag if shutting down
|
||||
BlackMisc::CSetting<Application::TDBusServerAddress> m_dbusServerAddress { this };
|
||||
BlackMisc::CData<Data::TLauncherSetup> m_launcherSetup { this };
|
||||
|
||||
// DBus
|
||||
BlackMisc::CDBusServer *m_dbusServer = nullptr;
|
||||
QDBusConnection m_dbusConnection = QDBusConnection("default");
|
||||
bool m_initDBusConnection = false;
|
||||
QDBusConnection m_dbusConnection { "default" };
|
||||
|
||||
// contexts:
|
||||
// There is a reason why we do not use smart pointers here. When the context is deleted
|
||||
|
||||
Reference in New Issue
Block a user