diff options
author | Arno <arno@disconnect.de> | 2018-02-19 02:16:40 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-02-19 02:16:40 +0100 |
commit | a960ea0552ccc84a19bc3b2a5b2c902901c7cafd (patch) | |
tree | 006251a8bc6fe68842375a95afd9aa4d0349d67a /playerwidget.cpp | |
parent | 164701b69d3d84b5530e93866dea93b446654a8e (diff) | |
download | BeetPlayer-a960ea0552ccc84a19bc3b2a5b2c902901c7cafd.tar.gz BeetPlayer-a960ea0552ccc84a19bc3b2a5b2c902901c7cafd.tar.bz2 BeetPlayer-a960ea0552ccc84a19bc3b2a5b2c902901c7cafd.zip |
Fill playlist on startup
This fixes the corner case that we show as playing when the playlist is
actually empty when starting. Should have thought of this earlier :)
Diffstat (limited to 'playerwidget.cpp')
-rw-r--r-- | playerwidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/playerwidget.cpp b/playerwidget.cpp index bb8509a..e9349f3 100644 --- a/playerwidget.cpp +++ b/playerwidget.cpp @@ -347,6 +347,7 @@ void PlayerWidget::setupGui(QSplashScreen *splash){ mainLayout->addWidget(splitter); setLayout(mainLayout); viewByArtistsA->trigger(); + randomPlay(); } void PlayerWidget::createActions(){ |