mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Ref T131, allow to obtain settings from UI component
Useful if we want to avoid to duplicate the settings, but access existing ones
This commit is contained in:
@@ -52,6 +52,9 @@ namespace BlackGui
|
||||
//! Save data
|
||||
void save();
|
||||
|
||||
//! Settings for given simulator
|
||||
BlackMisc::Simulation::Settings::CSpecializedSimulatorSettings getSimulatorSettings(const BlackMisc::Simulation::CSimulatorInfo &simulator) const { return m_settings.getSpecializedSettings(simulator); }
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CSettingsSimulatorBasicsComponent> ui;
|
||||
BlackMisc::Simulation::Settings::CMultiSimulatorSettings m_settings { this };
|
||||
|
||||
Reference in New Issue
Block a user