mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
refs #697 XBus setting renamed.
This commit is contained in:
@@ -221,7 +221,7 @@ namespace BlackSimPlugin
|
||||
private:
|
||||
QDBusConnection m_conn { "default" };
|
||||
QDBusServiceWatcher *m_watcher { nullptr };
|
||||
BlackMisc::CSetting<XBusServer> m_xbusServerSetting { this, &CSimulatorXPlaneListener::ps_xbusServerSettingChanged };
|
||||
BlackMisc::CSetting<TXBusServer> m_xbusServerSetting { this, &CSimulatorXPlaneListener::ps_xbusServerSettingChanged };
|
||||
};
|
||||
|
||||
//! Factory for creating CSimulatorXPlane instance
|
||||
|
||||
@@ -29,12 +29,12 @@ namespace BlackSimPlugin
|
||||
/*!
|
||||
* Setting for XBus.
|
||||
*/
|
||||
struct XBusServer : public BlackMisc::CSettingTrait<QString>
|
||||
struct TXBusServer : public BlackMisc::TSettingTrait<QString>
|
||||
{
|
||||
//! \copydoc BlackMisc::CSettingTrait::key
|
||||
//! \copydoc BlackMisc::TSettingTrait::key
|
||||
static const char *key() { return "xbus/server"; }
|
||||
|
||||
//! \copydoc BlackMisc::CSettingTrait::defaultValue
|
||||
//! \copydoc BlackMisc::TSettingTrait::defaultValue
|
||||
static QString defaultValue() { return QStringLiteral("session"); }
|
||||
};
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace BlackSimPlugin
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CSimulatorXPlaneConfigWindow> ui;
|
||||
BlackMisc::CSetting<XBusServer> m_xbusServerSetting { this };
|
||||
BlackMisc::CSetting<TXBusServer> m_xbusServerSetting { this };
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user