summaryrefslogtreecommitdiff
path: root/src/gui/windows/serverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-03 14:50:53 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-03 14:50:53 +0300
commitd05183a9029d65224f73143a380f1631692a9257 (patch)
treeb6666dea4c4a37c072826a6ec62955dad8812415 /src/gui/windows/serverdialog.cpp
parentb643a5c48d53dbeca7672e3c8b5182f9d698abcb (diff)
downloadplus-d05183a9029d65224f73143a380f1631692a9257.tar.gz
plus-d05183a9029d65224f73143a380f1631692a9257.tar.bz2
plus-d05183a9029d65224f73143a380f1631692a9257.tar.xz
plus-d05183a9029d65224f73143a380f1631692a9257.zip
Convert ServerType enum into strong typed enum.
Diffstat (limited to 'src/gui/windows/serverdialog.cpp')
-rw-r--r--src/gui/windows/serverdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp
index 8bd1dceb3..6290724e9 100644
--- a/src/gui/windows/serverdialog.cpp
+++ b/src/gui/windows/serverdialog.cpp
@@ -50,7 +50,7 @@
static const int MAX_SERVERLIST = 15;
-static std::string serverTypeToString(const ServerType::Type type)
+static std::string serverTypeToString(const ServerTypeT type)
{
switch (type)
{
@@ -80,7 +80,7 @@ static std::string serverTypeToString(const ServerType::Type type)
}
}
-static uint16_t defaultPortForServerType(const ServerType::Type type)
+static uint16_t defaultPortForServerType(const ServerTypeT type)
{
switch (type)
{