summaryrefslogtreecommitdiffstats
path: root/src/widgets/util/qscroller_mac.mm
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2015-08-26 01:48:34 -0700
committerMika Lindqvist <postmaster@raasu.org>2015-09-05 11:49:17 +0000
commit353b160a4af276eb554679756f23436face00927 (patch)
tree4cca789ae7c8e4d02e4f9d66dc171ac692831d15 /src/widgets/util/qscroller_mac.mm
parent76cf88157fc7d3a76e7f56aeb3fefff190ae946d (diff)
Link to AppKit instead of Cocoa.
Cocoa is basically just AppKit + CoreData. Since we do not use CoreData in Qt, there is no reason to link to it or (transitively) import its headers. This is just a mechanical replacement of -framework Cocoa with -framework AppKit and <Cocoa/Cocoa.h> with <AppKit/AppKit.h> Change-Id: Ibcfc8a03c0ddff27a67fbc87dd7bd58a4b648956 Reviewed-by: Mika Lindqvist <postmaster@raasu.org> Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
Diffstat (limited to 'src/widgets/util/qscroller_mac.mm')
-rw-r--r--src/widgets/util/qscroller_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/util/qscroller_mac.mm b/src/widgets/util/qscroller_mac.mm
index 07de07de52..51485973b8 100644
--- a/src/widgets/util/qscroller_mac.mm
+++ b/src/widgets/util/qscroller_mac.mm
@@ -35,7 +35,7 @@
#ifdef Q_DEAD_CODE_FROM_QT4_MAC
-#import <Cocoa/Cocoa.h>
+#import <AppKit/AppKit.h>
#include "qscroller_p.h"