mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
style and consistency:
* rename CStatusMessages to CStatusMessageList * rename NetworkVatlib to CNetworkVatlib * replace all occurrences of Realname with RealName (correct camel case) * CSequence method corresponding to CList::append is push_back * don't compile the qdbuscpp2xml metadata plugin by default * CAircraftIcao string members always trimmed and capitalized * added CComSystem::roundTo25KHz * using epsilon comparison in a couple of places refs #81
This commit is contained in:
committed by
Mathew Sutcliffe
parent
b5c3a5543f
commit
bb61654a29
@@ -43,12 +43,12 @@ namespace BlackCore
|
||||
/*
|
||||
* Pass value
|
||||
*/
|
||||
BlackMisc::CStatusMessages CContextSettings::value(const QString &path, const QString &command, const QVariant &value)
|
||||
BlackMisc::CStatusMessageList CContextSettings::value(const QString &path, const QString &command, const QVariant &value)
|
||||
{
|
||||
Q_ASSERT(path.length() > 3);
|
||||
Q_ASSERT(path.indexOf('/') >= 0);
|
||||
QString nextLevelPath = CSettingUtilities::removeLeadingPath(path);
|
||||
BlackMisc::CStatusMessages msgs = CSettingUtilities::wrongPathMessages(path);
|
||||
BlackMisc::CStatusMessageList msgs = CSettingUtilities::wrongPathMessages(path);
|
||||
bool changed = false;
|
||||
if (path.startsWith(IContextSettings::PathNetworkSettings()))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user