mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
refs #273, added settings for simulator
* added class * adjusted settings context * adjusted "global" methods as register metadata * improved settings utility * renamed "settingsallclasses" as settings can also be in other namespaces, settingsallclasses now in core
This commit is contained in:
@@ -191,15 +191,8 @@ namespace BlackMisc
|
||||
if (command == CSettingUtilities::CmdUpdate())
|
||||
{
|
||||
QString v = value.toString();
|
||||
if (this->m_bookingServiceUrl == v)
|
||||
{
|
||||
msgs.push_back(CSettingUtilities::valueNotChangedMessage("booking URL"));
|
||||
}
|
||||
else
|
||||
{
|
||||
changedFlag = true;
|
||||
msgs.push_back(CSettingUtilities::valueChangedMessage("booking URL"));
|
||||
}
|
||||
msgs.push_back(CSettingUtilities::valueChangedMessage(v != this->m_bookingServiceUrl, "booking URL"));
|
||||
this->m_bookingServiceUrl = v;
|
||||
return msgs;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user