summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-10 19:21:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-10 19:21:22 +0300
commit382d8b04262ba42a4ef334df4e35211f3c03c1b7 (patch)
treea48e91a1b078d2f19eec4e442d172c49d7702bff /src/client.cpp
parent7f3c6d852f8d1ab2b2b5d363d0b937c3593b38e3 (diff)
downloadmv-382d8b04262ba42a4ef334df4e35211f3c03c1b7.tar.gz
mv-382d8b04262ba42a4ef334df4e35211f3c03c1b7.tar.bz2
mv-382d8b04262ba42a4ef334df4e35211f3c03c1b7.tar.xz
mv-382d8b04262ba42a4ef334df4e35211f3c03c1b7.zip
Move errorlistener into separate file.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 4d8f79eab..db310e2cb 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -117,7 +117,6 @@
#include "utils/mkdir.h"
#include "utils/paths.h"
#include "utils/physfstools.h"
-#include "utils/process.h"
#include "utils/sdlcheckutils.h"
#include "utils/sdlhelper.h"
#include "utils/timer.h"
@@ -164,7 +163,6 @@ int loadingProgressCounter = 1;
#endif
std::string errorMessage;
-ErrorListener errorListener;
LoginData loginData;
Client *client = nullptr;
@@ -175,13 +173,6 @@ UserPalette *userPalette = nullptr;
SoundManager soundManager;
RenderType openGLMode = RENDER_SOFTWARE;
-void ErrorListener::action(const ActionEvent &event)
-{
- if (event.getId() == "yes")
- openBrowser(client->getSupportUrl());
- client->setState(STATE_CHOOSE_SERVER);
-}
-
volatile bool runCounters;
bool isSafeMode = false;
int serverVersion = 0;