summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbmime.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbmime.h')
-rw-r--r--src/plugins/platforms/xcb/qxcbmime.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/platforms/xcb/qxcbmime.h b/src/plugins/platforms/xcb/qxcbmime.h
index c7bbc2c4fa..0bc155177c 100644
--- a/src/plugins/platforms/xcb/qxcbmime.h
+++ b/src/plugins/platforms/xcb/qxcbmime.h
@@ -51,7 +51,7 @@
QT_BEGIN_NAMESPACE
-#ifndef QT_NO_DRAGANDDROP
+#if !(defined(QT_NO_DRAGANDDROP) && defined(QT_NO_CLIPBOARD))
class QXcbMime : public QInternalMimeData {
Q_OBJECT
@@ -69,7 +69,8 @@ public:
const QList<xcb_atom_t> &atoms, QByteArray *requestedEncoding);
};
-#endif // QT_NO_DRAGANDDROP
+#endif // !(defined(QT_NO_DRAGANDDROP) && defined(QT_NO_CLIPBOARD))
+
QT_END_NAMESPACE