summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qt_mac_p.h
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>2016-03-18 16:50:28 -0700
committerTimur Pocheptsov <timur.pocheptsov@theqtcompany.com>2016-06-04 18:39:33 +0000
commitcf19b06f221430db7eba00e792237abe14df4a3d (patch)
tree46b7b056d936a737dbbb20dca13cb83a0cceca49 /src/plugins/platforms/cocoa/qt_mac_p.h
parent22667483e1da3da2de5def9a1ee8aa6b22ee50d2 (diff)
Cocoa QPA: Mute mouse dragging warnings
While probably valid, these warnings are beyond the user's control, and more likely a sign of Qt's own expectations or misbehavior. So, we should not annoy the users with them. This change introduces the same logging category as 3ee01f74031d9e1d0 in 5.7 as is a partial backport to simplify a subsequent 5.6 to 5.7 merge. Change-Id: Ica2e3b1c5bc372923fd823b5d7d537d319835685 Task-number: QTBUG-42846 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/cocoa/qt_mac_p.h')
-rw-r--r--src/plugins/platforms/cocoa/qt_mac_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/cocoa/qt_mac_p.h b/src/plugins/platforms/cocoa/qt_mac_p.h
index 576e0f9729..299678eee8 100644
--- a/src/plugins/platforms/cocoa/qt_mac_p.h
+++ b/src/plugins/platforms/cocoa/qt_mac_p.h
@@ -58,6 +58,7 @@
#include "QtCore/qvariant.h"
#include "QtCore/qmimedata.h"
#include "QtCore/qpointer.h"
+#include "QtCore/qloggingcategory.h"
#include "private/qcore_mac_p.h"