Qt Editor: Fix windows includes

qteditor
Sven Eberhardt 2016-03-23 18:20:23 -04:00
parent b1ac208249
commit 9690174007
2 changed files with 4 additions and 6 deletions

View File

@ -30,6 +30,10 @@
#include <C4Object.h>
#include <C4Viewport.h>
#ifdef USE_WIN32_WINDOWS
#include <resource.h> // for setting the icon
#endif
/* String translation */
QString C4ConsoleQtTranslator::translate(const char * context, const char * sourceText, const char * disambiguation, int n) const

View File

@ -27,12 +27,6 @@
#include <C4ConsoleQt.h>
#include <ui_C4ConsoleQtMainWindow.h>
#ifdef USE_WIN32_WINDOWS
#include <WinUser.h>
#include <resource.h>
#endif
/* Forward string translation to GetResStr */
class C4ConsoleQtTranslator : public QTranslator