diff options
author | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2015-06-10 13:28:10 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2015-06-17 10:49:31 +0000 |
commit | 41bb5f362e49cc68b85022b749aaf654fa5c55bf (patch) | |
tree | 2fbe8e2f516ab3960b035b204f7559a58eb7dc10 /src/gui/kernel/qsimpledrag_p.h | |
parent | 56952436f40e573008b1223a52da1a3abe9642ff (diff) |
Make drag and drop work again after the merge
QBasicDrag does not have enough information to map the
coordinates, so we move that responsibility to the plugin.
Change-Id: I6eb87014b3259844bb3373ecf961d92debdb2b84
Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
Diffstat (limited to 'src/gui/kernel/qsimpledrag_p.h')
-rw-r--r-- | src/gui/kernel/qsimpledrag_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qsimpledrag_p.h b/src/gui/kernel/qsimpledrag_p.h index 728ae7bd15..a011475381 100644 --- a/src/gui/kernel/qsimpledrag_p.h +++ b/src/gui/kernel/qsimpledrag_p.h @@ -77,6 +77,8 @@ protected: virtual void drop(const QPoint &globalPos) = 0; virtual void endDrag(); + + void moveShapedPixmapWindow(const QPoint &deviceIndependentPosition); QShapedPixmapWindow *shapedPixmapWindow() const { return m_drag_icon_window; } void updateCursor(Qt::DropAction action); |