path: root/src/widgets/doc/snippets/
diff options
authorJake Petroules <>2015-08-26 01:48:34 -0700
committerMika Lindqvist <>2015-09-05 11:49:17 +0000
commit353b160a4af276eb554679756f23436face00927 (patch)
tree4cca789ae7c8e4d02e4f9d66dc171ac692831d15 /src/widgets/doc/snippets/
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 <> Reviewed-by: Morten Johan Sørvig <>
Diffstat (limited to 'src/widgets/doc/snippets/')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/doc/snippets/ b/src/widgets/doc/snippets/
index d0d74631ab..17aff45fa0 100644
--- a/src/widgets/doc/snippets/
+++ b/src/widgets/doc/snippets/
@@ -31,7 +31,7 @@
#include "macmainwindow.h"
-#import <Cocoa/Cocoa.h>
+#import <AppKit/AppKit.h>
#include <QtGui>