mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 06:25:33 +08:00
Allow to select server type in FSD settings
Summary: With this change the server type is a dynamic setting per server and replaces the hardcoded global server type in CNetworkVatlib. This allows the user to select the server type in settings ui and configures the vatlib session accordingly. This also removes the command line argument to set the server type since it doesn't make sense anymore. Reviewers: msutcliffe Reviewed By: msutcliffe Subscribers: jenkins Differential Revision: https://dev.swift-project.org/D24
This commit is contained in:
@@ -29,6 +29,7 @@ namespace BlackGui
|
||||
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("userid", { CServer::IndexUser, CUser::IndexId}));
|
||||
this->m_columns.addColumn(CColumn::standardString("type", CServer::IndexServerTypeAsString));
|
||||
|
||||
// force strings for translation in resource files
|
||||
(void)QT_TRANSLATE_NOOP("ServerListModel", "name");
|
||||
@@ -37,6 +38,7 @@ namespace BlackGui
|
||||
(void)QT_TRANSLATE_NOOP("ServerListModel", "port");
|
||||
(void)QT_TRANSLATE_NOOP("ServerListModel", "realname");
|
||||
(void)QT_TRANSLATE_NOOP("ServerListModel", "userid");
|
||||
(void)QT_TRANSLATE_NOOP("ServerListModel", "type");
|
||||
}
|
||||
|
||||
} // class
|
||||
|
||||
Reference in New Issue
Block a user