mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +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
@@ -97,8 +97,8 @@ namespace BlackMisc
|
||||
return QVariant::fromValue(this->m_port);
|
||||
case IndexUserId:
|
||||
return QVariant::fromValue(this->m_user.getId());
|
||||
case IndexUserRealname:
|
||||
return QVariant::fromValue(this->m_user.getRealname());
|
||||
case IndexUserRealName:
|
||||
return QVariant::fromValue(this->m_user.getRealName());
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@@ -142,8 +142,8 @@ namespace BlackMisc
|
||||
case IndexUserPassword:
|
||||
this->m_user.setPassword(variant.value<QString>());
|
||||
break;
|
||||
case IndexUserRealname:
|
||||
this->m_user.setRealname(variant.value<QString>());
|
||||
case IndexUserRealName:
|
||||
this->m_user.setRealName(variant.value<QString>());
|
||||
break;
|
||||
default:
|
||||
Q_ASSERT_X(false, "CServer", "index unknown");
|
||||
|
||||
Reference in New Issue
Block a user