summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2011-02-07 08:59:33 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-02-07 09:01:42 (GMT)
commit7ea1dd46966ae7cfa07fa18c001704e3c981b669 (patch)
tree8467c1c6bf1388342a4dff026f000eb9b7a13d86 /src
parentd7043ed404982efc67fd252c04a055e4ed783d6b (diff)
downloadQt-7ea1dd46966ae7cfa07fa18c001704e3c981b669.zip
Qt-7ea1dd46966ae7cfa07fa18c001704e3c981b669.tar.gz
Qt-7ea1dd46966ae7cfa07fa18c001704e3c981b669.tar.bz2
Move Mac specific include into Q_WS_MAC scope for QScroller abstraction
Reviewed-by: jorgen
Diffstat (limited to 'src')
-rw-r--r--src/gui/util/qscroller_mac.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/util/qscroller_mac.mm b/src/gui/util/qscroller_mac.mm
index 3203036..d85a51b 100644
--- a/src/gui/util/qscroller_mac.mm
+++ b/src/gui/util/qscroller_mac.mm
@@ -39,12 +39,13 @@
**
****************************************************************************/
-#import <Cocoa/Cocoa.h>
#include "qscroller_p.h"
#ifdef Q_WS_MAC
+#import <Cocoa/Cocoa.h>
+
QPointF QScrollerPrivate::realDpi(int screen)
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];