diff widgets/SelectableLabel.h @ 441:f8fcfbe13c8f

* Avoid waiting on uninstalled transforms mutex in TransformFactory:: getTransformInstallStatus -- we can return TransformUnknown * Don't follow link in SelectableLabel when clicking to select it * Restore lost version number in plugin param dialog
author Chris Cannam
date Tue, 28 Oct 2008 18:06:06 +0000
parents 374b72f5b4bb
children a18e78b9c78b
line wrap: on
line diff
--- a/widgets/SelectableLabel.h	Tue Oct 28 12:39:53 2008 +0000
+++ b/widgets/SelectableLabel.h	Tue Oct 28 18:06:06 2008 +0000
@@ -41,6 +41,7 @@
 
 protected:
     virtual void mousePressEvent(QMouseEvent *e);
+    virtual void mouseReleaseEvent(QMouseEvent *e);
     virtual void mouseDoubleClickEvent(QMouseEvent *e);
     virtual void enterEvent(QEvent *);
     virtual void leaveEvent(QEvent *);
@@ -48,6 +49,7 @@
     QString m_selectedText;
     QString m_unselectedText;
     bool m_selected;
+    bool m_swallowRelease;
 };
 
 #endif