From 7ea1dd46966ae7cfa07fa18c001704e3c981b669 Mon Sep 17 00:00:00 2001 From: con Date: Mon, 7 Feb 2011 09:59:33 +0100 Subject: Move Mac specific include into Q_WS_MAC scope for QScroller abstraction Reviewed-by: jorgen --- src/gui/util/qscroller_mac.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 #include "qscroller_p.h" #ifdef Q_WS_MAC +#import + QPointF QScrollerPrivate::realDpi(int screen) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; -- cgit v0.12