From 4386425ce310815076739ea5f15fe4f1218599c8 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 7 Jun 2011 15:07:44 +0200 Subject: Implement QDropEvent::source() again QDropEvent::source() now returns a QObject instead of a widget, matching the implementation in QDrag. Reviewed-by: Samuel --- src/widgets/to_be_moved/qtextcontrol_p_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/to_be_moved/qtextcontrol_p_p.h') 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 *); -- cgit v1.2.3