diff options
Diffstat (limited to 'playerwidget.cpp')
-rw-r--r-- | playerwidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/playerwidget.cpp b/playerwidget.cpp index e01014a..e092b3b 100644 --- a/playerwidget.cpp +++ b/playerwidget.cpp @@ -150,6 +150,7 @@ void PlayerWidget::setupGui(QSplashScreen *splash){ foldersView->populate(); cIdx = mCollectionStack->addWidget(foldersView); QAction *viewByFoldersA = new QAction(QIcon(":/folder.png"), tr("View by folder"), this); + viewByFoldersA->setCheckable(true); connect(viewByFoldersA, &QAction::triggered, [this, cIdx] { mCollectionStack->setCurrentIndex(cIdx); }); bottomTBG->addAction(viewByFoldersA); for(QAction *a : bottomTBG->actions()){ @@ -290,6 +291,7 @@ void PlayerWidget::setupGui(QSplashScreen *splash){ QVBoxLayout *mainLayout = new QVBoxLayout; mainLayout->addWidget(splitter); setLayout(mainLayout); + viewByArtistsA->trigger(); } void PlayerWidget::createActions(){ |