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>
This commit is contained in:
Thiago Macieira 2012-08-28 12:58:50 +02:00 committed by Qt by Nokia
parent 819d0203e6
commit c0a43591dc

View File

@ -51,7 +51,7 @@
// source and binary incompatible with future versions of Qt.
//
#include <qplatformdefs.h>
#include <QtCore/qglobal.h>
#ifndef QT_NO_CLIPBOARD