mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-25 10:15:43 +08:00
Formatting
This commit is contained in:
@@ -86,7 +86,7 @@ namespace BlackCore
|
|||||||
|
|
||||||
CContextSimulator *CContextSimulator::registerWithDBus(CDBusServer *server)
|
CContextSimulator *CContextSimulator::registerWithDBus(CDBusServer *server)
|
||||||
{
|
{
|
||||||
if (!server || m_mode != CCoreFacadeConfig::LocalInDBusServer) return this;
|
if (!server || m_mode != CCoreFacadeConfig::LocalInDBusServer) { return this; }
|
||||||
server->addObject(CContextSimulator::ObjectPath(), this);
|
server->addObject(CContextSimulator::ObjectPath(), this);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,14 +23,12 @@
|
|||||||
class QWidget;
|
class QWidget;
|
||||||
|
|
||||||
namespace Ui { class CSettingsAdvancedComponent; }
|
namespace Ui { class CSettingsAdvancedComponent; }
|
||||||
|
|
||||||
namespace BlackGui
|
namespace BlackGui
|
||||||
{
|
{
|
||||||
namespace Components
|
namespace Components
|
||||||
{
|
{
|
||||||
//! Configure general settings
|
//! Configure general settings
|
||||||
class BLACKGUI_EXPORT CSettingsAdvancedComponent :
|
class BLACKGUI_EXPORT CSettingsAdvancedComponent : public QFrame
|
||||||
public QFrame
|
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
@@ -39,7 +37,7 @@ namespace BlackGui
|
|||||||
CSettingsAdvancedComponent(QWidget *parent = nullptr);
|
CSettingsAdvancedComponent(QWidget *parent = nullptr);
|
||||||
|
|
||||||
//! Destructor
|
//! Destructor
|
||||||
~CSettingsAdvancedComponent();
|
virtual ~CSettingsAdvancedComponent();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void crashDumpUploadEnabledChanged(int state);
|
void crashDumpUploadEnabledChanged(int state);
|
||||||
@@ -47,7 +45,6 @@ namespace BlackGui
|
|||||||
QScopedPointer<Ui::CSettingsAdvancedComponent> ui;
|
QScopedPointer<Ui::CSettingsAdvancedComponent> ui;
|
||||||
BlackMisc::CSetting<BlackCore::Application::TCrashDumpUploadEnabled> m_crashDumpUploadEnabled { this };
|
BlackMisc::CSetting<BlackCore::Application::TCrashDumpUploadEnabled> m_crashDumpUploadEnabled { this };
|
||||||
};
|
};
|
||||||
|
|
||||||
} // ns
|
} // ns
|
||||||
} // ns
|
} // ns
|
||||||
|
|
||||||
|
|||||||
@@ -289,10 +289,10 @@ namespace BlackMisc
|
|||||||
static const QString &defaultSimulatorDirectory(const CSimulatorInfo &simulator);
|
static const QString &defaultSimulatorDirectory(const CSimulatorInfo &simulator);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
CSetting<Settings::TSimulatorFsx> m_simSettingsFsx {this}; //!< FSX cache
|
CSetting<Settings::TSimulatorFsx> m_simSettingsFsx {this}; //!< FSX settings
|
||||||
CSetting<Settings::TSimulatorFs9> m_simSettingsFs9 {this}; //!< FS9 cache
|
CSetting<Settings::TSimulatorFs9> m_simSettingsFs9 {this}; //!< FS9 settings
|
||||||
CSetting<Settings::TSimulatorP3D> m_simSettingsP3D {this}; //!< P3D cache
|
CSetting<Settings::TSimulatorP3D> m_simSettingsP3D {this}; //!< P3D settings
|
||||||
CSetting<Settings::TSimulatorXP> m_simSettingsXP {this}; //!< XP cache
|
CSetting<Settings::TSimulatorXP> m_simSettingsXP {this}; //!< XP settings
|
||||||
};
|
};
|
||||||
|
|
||||||
//! Settings regarding message handling.
|
//! Settings regarding message handling.
|
||||||
|
|||||||
Reference in New Issue
Block a user