summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-14 12:32:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-14 12:32:04 +0300
commit33fa397fd5b560afde5a876a99acc2b2546d1d44 (patch)
treeb38470466dc9cc9f7da0b197346075b9062343c0 /src/gui
parentbb631b982a2f9b35e8009c3e76c4445ea3fda460 (diff)
downloadplus-33fa397fd5b560afde5a876a99acc2b2546d1d44.tar.gz
plus-33fa397fd5b560afde5a876a99acc2b2546d1d44.tar.bz2
plus-33fa397fd5b560afde5a876a99acc2b2546d1d44.tar.xz
plus-33fa397fd5b560afde5a876a99acc2b2546d1d44.zip
Allow use chat commands before connecting to server.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windowmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windowmanager.cpp b/src/gui/windowmanager.cpp
index 9c08f385e..4ed20e980 100644
--- a/src/gui/windowmanager.cpp
+++ b/src/gui/windowmanager.cpp
@@ -23,6 +23,7 @@
#include "gui/windowmanager.h"
#include "client.h"
+#include "commandhandler.h"
#include "configuration.h"
#include "game.h"
#include "settings.h"
@@ -90,6 +91,7 @@ void WindowManager::createWindows()
helpWindow = new HelpWindow;
didYouKnowWindow = new DidYouKnowWindow;
didYouKnowWindow->postInit();
+ commandHandler = new CommandHandler;
}
void WindowManager::initTitle()