summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@digia.com>2012-12-19 11:19:37 +0100
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-02-27 23:56:00 +0100
commit9acae5ce0bfe94bde2711986ccebadf12e9a8a7a (patch)
tree8dceaea13b7f1c9e56eb48ee181132b67f0617d6 /src/plugins/platforms
parent1ff571142d5c06e91a1698d635ab092bbcf393cf (diff)
iOS: clean-up header includes
Try to keep qiosglobal.h free from unnecessary includes, since its typically included from many different locations. Change-Id: I6638bcaef1189b3eee3dbd5f744c15f8f7858d71 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r--src/plugins/platforms/ios/qiosglobal.h4
-rw-r--r--src/plugins/platforms/ios/qiosglobal.mm2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/platforms/ios/qiosglobal.h b/src/plugins/platforms/ios/qiosglobal.h
index 86377e7c64..3fe426c901 100644
--- a/src/plugins/platforms/ios/qiosglobal.h
+++ b/src/plugins/platforms/ios/qiosglobal.h
@@ -43,9 +43,7 @@
#define QIOSGLOBAL_H
#import <UIKit/UIKit.h>
-#import <QtCore/qglobal.h>
-#import <QtGui/qguiapplication.h>
-#import "qiosscreen.h"
+#include <QtCore/QtCore>
@class QIOSViewController;
diff --git a/src/plugins/platforms/ios/qiosglobal.mm b/src/plugins/platforms/ios/qiosglobal.mm
index cf69d8fdef..712968d216 100644
--- a/src/plugins/platforms/ios/qiosglobal.mm
+++ b/src/plugins/platforms/ios/qiosglobal.mm
@@ -42,7 +42,7 @@
#include "qiosglobal.h"
#include "qiosapplicationdelegate.h"
#include "qiosviewcontroller.h"
-#include <QtGui/qscreen.h>
+#include "qiosscreen.h"
QT_BEGIN_NAMESPACE