summaryrefslogtreecommitdiffstats
path: root/playerwidget.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2017-03-05 17:51:48 +0100
committerArno <arno@disconnect.de>2017-03-05 17:51:48 +0100
commitee0b460145fd1edd0f76bbbf3680b9ebea927940 (patch)
tree3de9268a6faf02d2f7cf0538af9233781c24d423 /playerwidget.h
parent2ff72f033af3f24ffb816bc19a34fc794f585775 (diff)
downloadBeetPlayer-ee0b460145fd1edd0f76bbbf3680b9ebea927940.tar.gz
BeetPlayer-ee0b460145fd1edd0f76bbbf3680b9ebea927940.tar.bz2
BeetPlayer-ee0b460145fd1edd0f76bbbf3680b9ebea927940.zip
Fix play Button
Print a statusbar message when the playlist is empty. If it isn't empty, but nothing is selected, select the first entry and play it.
Diffstat (limited to 'playerwidget.h')
-rw-r--r--playerwidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/playerwidget.h b/playerwidget.h
index bbe8333..14df101 100644
--- a/playerwidget.h
+++ b/playerwidget.h
@@ -32,6 +32,7 @@ class PlayerWidget : public QWidget {
void doPopulateBySong();
void doPopulateByFolder(QString dir = QString());
void viewDoubleClicked(const QModelIndex &idx);
+ void doPlay();
void doFilter();
void clearFilter();
void reindex();