diff options
author | Arno <arno@disconnect.de> | 2018-02-18 08:28:59 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-02-18 08:28:59 +0100 |
commit | a80fe1e9dc3a16d9c41d40065768315237b8091f (patch) | |
tree | 5622440bb751b9333cf9cf89dee21abc7504731c /playerwidget.h | |
parent | 2c720f3c54b054db348b8107f14362ce1fb2d430 (diff) | |
download | BeetPlayer-a80fe1e9dc3a16d9c41d40065768315237b8091f.tar.gz BeetPlayer-a80fe1e9dc3a16d9c41d40065768315237b8091f.tar.bz2 BeetPlayer-a80fe1e9dc3a16d9c41d40065768315237b8091f.zip |
Implement "Goto album"
Raise album view and select, center and expand album if found. It's
useful for albums with various artists, I hope.
Diffstat (limited to 'playerwidget.h')
-rw-r--r-- | playerwidget.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/playerwidget.h b/playerwidget.h index c4ca8ec..3d190a7 100644 --- a/playerwidget.h +++ b/playerwidget.h @@ -61,7 +61,6 @@ class PlayerWidget : public QWidget { void webDlDone(); void doMetadataChange(const QString &key, const QVariant &value); void updateStreamData(); - void mute(bool triggered); void volumeChanged(int volume); void next(); @@ -72,6 +71,7 @@ class PlayerWidget : public QWidget { void readSettings(); void writeSettings(); void aboutDlg(); + void gotoAlbum(); signals: void viewModeChanged(const QString &viewMode); @@ -110,6 +110,7 @@ class PlayerWidget : public QWidget { QAction *mPlayA; QAction *mStopA; QAction *mPauseA; + QAction *mViewByAlbumsA; qint64 mDurSecs; quint64 mPlayListLength; QString mCurWinTitle; |