diff options
Diffstat (limited to 'src/plugins/platforms/offscreen/qoffscreencommon.h')
-rw-r--r-- | src/plugins/platforms/offscreen/qoffscreencommon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/offscreen/qoffscreencommon.h b/src/plugins/platforms/offscreen/qoffscreencommon.h index a5df7d05d3..28546aed88 100644 --- a/src/plugins/platforms/offscreen/qoffscreencommon.h +++ b/src/plugins/platforms/offscreen/qoffscreencommon.h @@ -73,12 +73,14 @@ public: QScopedPointer<QPlatformCursor> m_cursor; }; +#ifndef QT_NO_DRAGANDDROP class QOffscreenDrag : public QPlatformDrag { public: QMimeData *platformDropData() { return 0; } Qt::DropAction drag(QDrag *) { return Qt::IgnoreAction; } }; +#endif class QOffscreenBackingStore : public QPlatformBackingStore { |