summaryrefslogtreecommitdiff
path: root/src/gui/windows/textcommandeditor.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-10-05 23:28:34 +0300
committerAndrei Karas <akaras@inbox.ru>2017-10-06 19:02:03 +0300
commit491695e60e95668e8170e290388f976190859314 (patch)
tree78f81f3a7326c6c5400879927e033718e031e43b /src/gui/windows/textcommandeditor.cpp
parent51c5857be425d0cf19503ba47eba31fab4aceee6 (diff)
downloadplus-491695e60e95668e8170e290388f976190859314.tar.gz
plus-491695e60e95668e8170e290388f976190859314.tar.bz2
plus-491695e60e95668e8170e290388f976190859314.tar.xz
plus-491695e60e95668e8170e290388f976190859314.zip
remove extra includes if build without tmwa support.
Diffstat (limited to 'src/gui/windows/textcommandeditor.cpp')
-rw-r--r--src/gui/windows/textcommandeditor.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/windows/textcommandeditor.cpp b/src/gui/windows/textcommandeditor.cpp
index 5c8ee1357..88d88af8a 100644
--- a/src/gui/windows/textcommandeditor.cpp
+++ b/src/gui/windows/textcommandeditor.cpp
@@ -28,7 +28,6 @@
#include "input/keyboardconfig.h"
#include "gui/models/iconsmodel.h"
-#include "gui/models/magicschoolmodel.h"
#include "gui/models/targettypemodel.h"
#include "gui/widgets/button.h"
@@ -37,7 +36,12 @@
#include "gui/widgets/inttextfield.h"
#include "gui/widgets/label.h"
#include "gui/widgets/layoutcell.h"
+
+#ifdef TMWA_SUPPORT
+#include "gui/models/magicschoolmodel.h"
+
#include "gui/widgets/radiobutton.h"
+#endif // TMWA_SUPPORT
#include "utils/delete2.h"