mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
Added callsign to user object:
* Changed user class * Updated ATC station / aircraft to keep callsigns in sync * Updated user list model for GUI
This commit is contained in:
@@ -14,10 +14,12 @@ namespace BlackGui
|
||||
CListModelBase<BlackMisc::Network::CUser, BlackMisc::Network::CUserList>("ViewUserList", parent)
|
||||
{
|
||||
this->m_columns.addColumn(CUser::IndexRealName, "realname");
|
||||
this->m_columns.addColumn(CUser::IndexCallsign, "callsign");
|
||||
this->m_columns.addColumn(CUser::IndexId, "userid");
|
||||
this->m_columns.addColumn(CUser::IndexEmail, "email");
|
||||
|
||||
// force strings for translation in resource files
|
||||
(void)QT_TRANSLATE_NOOP("ViewUserList", "callsign");
|
||||
(void)QT_TRANSLATE_NOOP("ViewUserList", "realname");
|
||||
(void)QT_TRANSLATE_NOOP("ViewUserList", "userid");
|
||||
(void)QT_TRANSLATE_NOOP("ViewUserList", "email");
|
||||
|
||||
Reference in New Issue
Block a user