From d7a403f31dbe35ef9bba09e802b165dd946a5cfc Mon Sep 17 00:00:00 2001
From: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Date: Thu, 18 Mar 2010 10:18:14 +0100
Subject: [PATCH] QmlDesigner.propertyEditor: mouseRelease instead of
 mousePress

---
 .../qmldesigner/components/propertyeditor/propertyeditor.h      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.h b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.h
index f50ef38abeb..730db75dc37 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.h
+++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.h
@@ -175,7 +175,7 @@ signals:
 protected:
     void paintEvent(QPaintEvent *event);
 
-    void mousePressEvent(QMouseEvent *)
+    void mouseReleaseEvent(QMouseEvent *)
     {
         if (m_collapsed) {
             m_collapsed = false;
-- 
GitLab