Ref T172, added ecosystem column

This commit is contained in:
Klaus Basan
2017-12-28 18:28:26 +01:00
parent 426ac96f3e
commit 5f90497626

View File

@@ -29,6 +29,7 @@ namespace BlackGui
this->m_columns.addColumn(CColumn::standardString("port", CServer::IndexPort)); this->m_columns.addColumn(CColumn::standardString("port", CServer::IndexPort));
this->m_columns.addColumn(CColumn::standardString("realname", { CServer::IndexUser, CUser::IndexRealName })); this->m_columns.addColumn(CColumn::standardString("realname", { CServer::IndexUser, CUser::IndexRealName }));
this->m_columns.addColumn(CColumn::standardString("userid", { CServer::IndexUser, CUser::IndexId })); this->m_columns.addColumn(CColumn::standardString("userid", { CServer::IndexUser, CUser::IndexId }));
this->m_columns.addColumn(CColumn::standardString("eco", { CServer::IndexEcosystem, CEcosystem::IndexSystemString }));
this->m_columns.addColumn(CColumn::standardString("type", CServer::IndexServerTypeAsString)); this->m_columns.addColumn(CColumn::standardString("type", CServer::IndexServerTypeAsString));
// force strings for translation in resource files // force strings for translation in resource files
@@ -38,6 +39,7 @@ namespace BlackGui
(void)QT_TRANSLATE_NOOP("ServerListModel", "port"); (void)QT_TRANSLATE_NOOP("ServerListModel", "port");
(void)QT_TRANSLATE_NOOP("ServerListModel", "realname"); (void)QT_TRANSLATE_NOOP("ServerListModel", "realname");
(void)QT_TRANSLATE_NOOP("ServerListModel", "userid"); (void)QT_TRANSLATE_NOOP("ServerListModel", "userid");
(void)QT_TRANSLATE_NOOP("ServerListModel", "eco");
(void)QT_TRANSLATE_NOOP("ServerListModel", "type"); (void)QT_TRANSLATE_NOOP("ServerListModel", "type");
} }