From 59892468c95946ae3c3c3360e46d39bd62d8b9ea Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 28 Jan 2014 14:29:45 +0100 Subject: widgets/mainwindows/mainwindow example: Use mouse release event for dock title. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-36364 Change-Id: Ie3352c8e72a636aee2099ca3138eb0ac77425e7e Reviewed-by: Topi Reiniƶ --- examples/widgets/mainwindows/mainwindow/colorswatch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/widgets/mainwindows/mainwindow/colorswatch.h') diff --git a/examples/widgets/mainwindows/mainwindow/colorswatch.h b/examples/widgets/mainwindows/mainwindow/colorswatch.h index 11f924ddb7..b83a6ba76a 100644 --- a/examples/widgets/mainwindows/mainwindow/colorswatch.h +++ b/examples/widgets/mainwindows/mainwindow/colorswatch.h @@ -124,7 +124,7 @@ public: QSize minimumSizeHint() const; protected: void paintEvent(QPaintEvent *event); - void mousePressEvent(QMouseEvent *event); + void mouseReleaseEvent(QMouseEvent *event); public slots: void updateMask(); -- cgit v1.2.3