summaryrefslogtreecommitdiffstats
path: root/src/gui/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/util')
-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];