diff options
author | Filipe Azevedo <filipe.azevedo@kdab.com> | 2015-03-16 10:52:05 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@digia.com> | 2015-03-17 10:20:30 +0000 |
commit | fcabeb2e4758b2d39cfc82928a22f8afdf27ba50 (patch) | |
tree | c0f63531a73405530f49baa23ccc0ab4ba6a359d /src/plugins/platforms/cocoa/qcocoadrag.h | |
parent | 699e7a0869607d1d6a1bc0d0d922c648516f60d1 (diff) |
QCocoaDrag: Fix text, url and image preview pixmap while dragging.
OSX was missing text, url and image preview while dragging causing the
drag operation to show a small dashed box around the mouse cursor.
Task-number: QTBUG-33824
Change-Id: I8d0acd0d6a48b7cb29ad2faba8b9ecb9cdf2a5ab
Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoadrag.h')
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoadrag.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoadrag.h b/src/plugins/platforms/cocoa/qcocoadrag.h index 058941939c..e087fcee26 100644 --- a/src/plugins/platforms/cocoa/qcocoadrag.h +++ b/src/plugins/platforms/cocoa/qcocoadrag.h @@ -67,6 +67,8 @@ private: NSEvent *m_lastEvent; NSView *m_lastView; Qt::DropAction m_executed_drop_action; + + QPixmap dragPixmap(QDrag *drag, QPoint &hotSpot) const; }; class QCocoaDropData : public QInternalMimeData |