diff --git a/TODO b/TODO index 2e38e8384..d564e8faa 100644 --- a/TODO +++ b/TODO @@ -7,7 +7,6 @@ - Global shortcut keys - Make QSortFilterProxyModel on the library obey hasChildren() - Database versioning -- Enter on playlist plays - Clicking play plays selected item - More actions in playlist context menu diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index a8df1fd8f..fb46729f0 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -119,6 +119,7 @@ MainWindow::MainWindow(QWidget *parent) connect(playlist_, SIGNAL(CurrentSongChanged(Song)), osd_, SLOT(SongChanged(Song))); connect(ui_.playlist, SIGNAL(doubleClicked(QModelIndex)), SLOT(PlayIndex(QModelIndex))); + connect(ui_.playlist, SIGNAL(PlayPauseItem(QModelIndex)), SLOT(PlayIndex(QModelIndex))); // Library connections connect(library_, SIGNAL(Error(QString)), SLOT(ReportError(QString)));