diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-06-07 15:07:44 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-06-07 15:50:54 +0200 |
commit | 4386425ce310815076739ea5f15fe4f1218599c8 (patch) | |
tree | 55a186c2201c195dceb5f902333bd208f5e01d0b /src/widgets/to_be_moved/qtextcontrol_p_p.h | |
parent | 71304aefd0668f6ba2d41ef84d7f48aaa95db06f (diff) |
Implement QDropEvent::source() again
QDropEvent::source() now returns a QObject
instead of a widget, matching the implementation
in QDrag.
Reviewed-by: Samuel
Diffstat (limited to 'src/widgets/to_be_moved/qtextcontrol_p_p.h')
-rw-r--r-- | src/widgets/to_be_moved/qtextcontrol_p_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/to_be_moved/qtextcontrol_p_p.h b/src/widgets/to_be_moved/qtextcontrol_p_p.h index 099843437a..1b707eeef3 100644 --- a/src/widgets/to_be_moved/qtextcontrol_p_p.h +++ b/src/widgets/to_be_moved/qtextcontrol_p_p.h @@ -160,7 +160,7 @@ public: bool dragEnterEvent(QEvent *e, const QMimeData *mimeData); void dragLeaveEvent(); bool dragMoveEvent(QEvent *e, const QMimeData *mimeData, const QPointF &pos); - bool dropEvent(const QMimeData *mimeData, const QPointF &pos, Qt::DropAction dropAction, QWidget *source); + bool dropEvent(const QMimeData *mimeData, const QPointF &pos, Qt::DropAction dropAction, QObject *source); void inputMethodEvent(QInputMethodEvent *); |