]> git.sesse.net Git - vlc/commitdiff
Qt4 - double clicking the time can open the gotoTimeDialog ! Feature request to match...
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 9 Oct 2007 02:10:33 +0000 (02:10 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 9 Oct 2007 02:10:33 +0000 (02:10 +0000)
modules/gui/qt4/components/interface_widgets.hpp

index f9c52ebcd27363088126c878f29e5df11bdd24e3..54447bd4613b87a1101c93d3146f42063e0f80d0 100644 (file)
@@ -209,8 +209,13 @@ class TimeLabel : public QLabel
     {
         if( event->button() == Qt::LeftButton ) emit timeLabelClicked();
     }
+    void mouseDoubleClickEvent( QMouseEvent *event )
+    {
+        emit timeLabelDoubleClicked();
+    }
 signals:
     void timeLabelClicked();
+    void timeLabelDoubleClicked();
 };
 
 /******************** Playlist Widgets ****************/