diff clickablelabel.h @ 187:869825bc8bc4

* Set hand cursor on clickable label
author Chris Cannam
date Mon, 20 Dec 2010 16:15:19 +0000
parents 6c15700f4103
children 8fd71f570884
line wrap: on
line diff
--- a/clickablelabel.h	Mon Dec 20 14:37:35 2010 +0000
+++ b/clickablelabel.h	Mon Dec 20 16:15:19 2010 +0000
@@ -50,7 +50,10 @@
 
     void setMouseUnderline(bool mu) {
 	m_mouseUnderline = mu;
-	if (mu) setTextFormat(Qt::RichText);
+	if (mu) {
+	    setTextFormat(Qt::RichText);
+	    setCursor(Qt::PointingHandCursor);
+	}
     }
 
 signals: