summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index bad2c2b5..5b8372ee 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -26,7 +26,6 @@
#include "configuration.h"
#include "gui.h"
#include "log.h"
-#include "main.h"
#include "gui/customserverdialog.h"
#include "gui/okdialog.h"
@@ -40,8 +39,6 @@
#include "gui/widgets/scrollarea.h"
#include "gui/widgets/textfield.h"
-#include "net/net.h"
-
#include "resources/theme.h"
#include "utils/gettext.h"
@@ -474,8 +471,7 @@ void ServerDialog::loadServers()
std::string version = XML::getProperty(serverNode, "minimumVersion",
std::string());
- bool meetsMinimumVersion = (compareStrI(version, PACKAGE_VERSION)
- <= 0);
+ bool meetsMinimumVersion = compareStrI(version, PACKAGE_VERSION) <= 0;
// For display in the list
if (meetsMinimumVersion)