Commit a5ac2854 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - double clicking the time can open the gotoTimeDialog ! Feature request...

Qt4 - double clicking the time can open the gotoTimeDialog ! Feature request to match OSX behaviour.

parent c24786dc
...@@ -209,8 +209,13 @@ class TimeLabel : public QLabel ...@@ -209,8 +209,13 @@ class TimeLabel : public QLabel
{ {
if( event->button() == Qt::LeftButton ) emit timeLabelClicked(); if( event->button() == Qt::LeftButton ) emit timeLabelClicked();
} }
void mouseDoubleClickEvent( QMouseEvent *event )
{
emit timeLabelDoubleClicked();
}
signals: signals:
void timeLabelClicked(); void timeLabelClicked();
void timeLabelDoubleClicked();
}; };
/******************** Playlist Widgets ****************/ /******************** Playlist Widgets ****************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment