mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 18:35:35 +08:00
Ref T554, style
This commit is contained in:
committed by
Mat Sutcliffe
parent
349a40723e
commit
8569713331
@@ -33,14 +33,14 @@ namespace BlackGui
|
||||
}
|
||||
else
|
||||
{
|
||||
connect(ui->cb_EnableServerDebugging, &QCheckBox::toggled, this, &CDbDebugDatabaseSetup::ps_debugChanged);
|
||||
connect(ui->cb_EnableServerDebugging, &QCheckBox::toggled, this, &CDbDebugDatabaseSetup::onDebugChanged);
|
||||
}
|
||||
}
|
||||
|
||||
CDbDebugDatabaseSetup::~CDbDebugDatabaseSetup()
|
||||
{ }
|
||||
|
||||
void CDbDebugDatabaseSetup::ps_debugChanged(bool set)
|
||||
void CDbDebugDatabaseSetup::onDebugChanged(bool set)
|
||||
{
|
||||
CGlobalSetup gs(m_setup.getThreadLocal());
|
||||
gs.setServerDebugFlag(set);
|
||||
|
||||
@@ -19,10 +19,7 @@
|
||||
#include <QObject>
|
||||
#include <QScopedPointer>
|
||||
|
||||
class QWidget;
|
||||
|
||||
namespace Ui { class CDbDebugDatabaseSetup; }
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
@@ -42,11 +39,10 @@ namespace BlackGui
|
||||
//! Dstructor
|
||||
~CDbDebugDatabaseSetup();
|
||||
|
||||
private slots:
|
||||
//! Changed the debug checkbox
|
||||
void ps_debugChanged(bool set);
|
||||
|
||||
private:
|
||||
//! Changed the debug checkbox
|
||||
void onDebugChanged(bool set);
|
||||
|
||||
QScopedPointer<Ui::CDbDebugDatabaseSetup> ui;
|
||||
BlackMisc::CData<BlackCore::Data::TGlobalSetup> m_setup {this}; //!< data cache
|
||||
};
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <QScopedPointer>
|
||||
#include <QString>
|
||||
|
||||
namespace Ui { class CLoginComponent; }
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Simulation
|
||||
@@ -42,7 +43,6 @@ namespace BlackMisc
|
||||
class CSimulatedAircraft;
|
||||
}
|
||||
}
|
||||
namespace Ui { class CLoginComponent; }
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
|
||||
Reference in New Issue
Block a user