summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-28 12:58:50 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-29 12:37:41 +0200
commitc0a43591dc024d92b713b2088d0c26d791368a67 (patch)
tree8197a3238f5d5b19d15f8ecc16502c2f9f22a97b /src/gui
parent819d0203e6fd9d27dc4c22e8c3cb8b437998f62a (diff)
qplatformclipboard.h does not need qplatformdefs.h, so remove
It's not using anything from the qplatformdefs.h header in the public API (and it shouldn't, since qplatformdefs.h can change) nor in inline functions, so there's no need to include it here. Include qglobal.h, which includes qconfig.h, which is where the QT_NO_CLIPBOARD define will be, if anywhere. Change-Id: I913db9aface297e75f91b6346c0dc48439d7d1f6 Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qplatformclipboard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qplatformclipboard.h b/src/gui/kernel/qplatformclipboard.h
index 8f292de142..fc7fa463b9 100644
--- a/src/gui/kernel/qplatformclipboard.h
+++ b/src/gui/kernel/qplatformclipboard.h
@@ -51,7 +51,7 @@
// source and binary incompatible with future versions of Qt.
//
-#include <qplatformdefs.h>
+#include <QtCore/qglobal.h>
#ifndef QT_NO_CLIPBOARD