summaryrefslogtreecommitdiffstats
path: root/playerwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'playerwidget.h')
-rw-r--r--playerwidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/playerwidget.h b/playerwidget.h
index 2837688..a321e4a 100644
--- a/playerwidget.h
+++ b/playerwidget.h
@@ -31,6 +31,7 @@ class PlayerWidget : public QWidget {
void clearPlayList();
void shufflePlayList();
void randomPlay();
+ void playCurrent(const QModelIndex &index);
private:
void setupGui();
@@ -40,6 +41,7 @@ class PlayerWidget : public QWidget {
void populateByGenre(QStandardItem *parent, const QString &filter);
void recurse(const QModelIndex &parent);
void addSong(const QModelIndex &idx);
+ void play(const QString &fullPath);
QLineEdit *mFilter;
QMediaPlayer *mPlayer;
BeetView *mView;