mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 12:55:31 +08:00
fix: Update src/misc/simulation/settings/simulatorsettings.cpp
Co-authored-by: Lars Toenning <dev@ltoenning.de>
This commit is contained in:
@@ -152,14 +152,14 @@ namespace swift::misc::simulation::settings
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSimulatorSettings::setPropertyModelSet(bool value) { value ? m_modelSet = true : m_modelSet = false; }
|
void CSimulatorSettings::setPropertyModelSet(bool value) { m_modelSet = value; }
|
||||||
void CSimulatorSettings::setPropertyWithDbEntry(bool value)
|
void CSimulatorSettings::setPropertyWithDbEntry(bool value)
|
||||||
{
|
{
|
||||||
value ? m_withDbEntry = true : m_withDbEntry = false;
|
m_withDbEntry = value;
|
||||||
}
|
}
|
||||||
void CSimulatorSettings::setPropertyDistributorFiltered(bool value)
|
void CSimulatorSettings::setPropertyDistributorFiltered(bool value)
|
||||||
{
|
{
|
||||||
value ? m_distributorFiltered = true : m_distributorFiltered = false;
|
m_distributorFiltered = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSimulatorSettings::setPropertyByIndex(CPropertyIndexRef index, const QVariant &variant)
|
void CSimulatorSettings::setPropertyByIndex(CPropertyIndexRef index, const QVariant &variant)
|
||||||
|
|||||||
Reference in New Issue
Block a user