From c0a43591dc024d92b713b2088d0c26d791368a67 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 28 Aug 2012 12:58:50 +0200 Subject: 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 --- src/gui/kernel/qplatformclipboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 +#include #ifndef QT_NO_CLIPBOARD -- cgit v1.2.3