diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-10-05 23:28:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-10-06 19:02:03 +0300 |
commit | 491695e60e95668e8170e290388f976190859314 (patch) | |
tree | 78f81f3a7326c6c5400879927e033718e031e43b /src/gui/windows/textcommandeditor.cpp | |
parent | 51c5857be425d0cf19503ba47eba31fab4aceee6 (diff) | |
download | plus-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.cpp | 6 |
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" |