diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2017-03-01 09:27:17 +0100 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@qt.io> | 2017-03-20 12:05:29 +0000 |
commit | 9a99c2196a3220a5ce9e7b6ae617d6f74d2e5079 (patch) | |
tree | 8b773d09522819fa910795773a9293b63b670b37 | |
parent | 5b99f8e21b5f5519e40bd4b3531f538b567c6a6d (diff) |
Remove platformDropData() that is removed from QPlatformDrag
Change-Id: I12321852027279d8b34d2e231253dfd858167a15
Reviewed-by: Jan Arne Petersen <jan.petersen@kdab.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
-rw-r--r-- | src/client/qwaylanddnd.cpp | 7 | ||||
-rw-r--r-- | src/client/qwaylanddnd_p.h | 2 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/client/qwaylanddnd.cpp b/src/client/qwaylanddnd.cpp index 54c075c4a..fe620506d 100644 --- a/src/client/qwaylanddnd.cpp +++ b/src/client/qwaylanddnd.cpp @@ -62,13 +62,6 @@ QWaylandDrag::~QWaylandDrag() { } -QMimeData * QWaylandDrag::platformDropData() -{ - if (drag()) - return drag()->mimeData(); - return 0; -} - void QWaylandDrag::startDrag() { QBasicDrag::startDrag(); diff --git a/src/client/qwaylanddnd_p.h b/src/client/qwaylanddnd_p.h index 6d87c75d7..8a1d7f1f1 100644 --- a/src/client/qwaylanddnd_p.h +++ b/src/client/qwaylanddnd_p.h @@ -71,8 +71,6 @@ public: QWaylandDrag(QWaylandDisplay *display); ~QWaylandDrag(); - QMimeData *platformDropData(); - void updateTarget(const QString &mimeType); void setResponse(const QPlatformDragQtResponse &response); void finishDrag(const QPlatformDropQtResponse &response); |