summaryrefslogtreecommitdiffstats
path: root/examples/widgets/mainwindows/mainwindow/colorswatch.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2014-01-28 14:29:45 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-07 22:12:10 +0100
commit59892468c95946ae3c3c3360e46d39bd62d8b9ea (patch)
treebbfd1c688b512bfd423333bc6fb44b8b667793bb /examples/widgets/mainwindows/mainwindow/colorswatch.h
parente84875da5ad56c930fa901e5edc0d90d9e23a0bd (diff)
widgets/mainwindows/mainwindow example: Use mouse release event for dock title.
Task-number: QTBUG-36364 Change-Id: Ie3352c8e72a636aee2099ca3138eb0ac77425e7e Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'examples/widgets/mainwindows/mainwindow/colorswatch.h')
-rw-r--r--examples/widgets/mainwindows/mainwindow/colorswatch.h2
1 files changed, 1 insertions, 1 deletions
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();