Fix load settings in albumcoverchoicecontroller

This commit is contained in:
Jonas Kvinge
2019-03-12 00:01:52 +01:00
parent 2211716d04
commit eb63e2257f
3 changed files with 3 additions and 2 deletions

View File

@@ -860,6 +860,7 @@ void MainWindow::ReloadAllSettings() {
osd_->ReloadSettings(); osd_->ReloadSettings();
collection_view_->ReloadSettings(); collection_view_->ReloadSettings();
ui_->playlist->view()->ReloadSettings(); ui_->playlist->view()->ReloadSettings();
album_cover_choice_controller_->ReloadSettings();
if (cover_manager_.get()) cover_manager_->ReloadSettings(); if (cover_manager_.get()) cover_manager_->ReloadSettings();
#ifdef HAVE_STREAM_TIDAL #ifdef HAVE_STREAM_TIDAL
tidal_search_view_->ReloadSettings(); tidal_search_view_->ReloadSettings();

View File

@@ -94,6 +94,8 @@ AlbumCoverChoiceController::AlbumCoverChoiceController(QWidget *parent) :
separator_ = new QAction(this); separator_ = new QAction(this);
separator_->setSeparator(true); separator_->setSeparator(true);
ReloadSettings();
} }
AlbumCoverChoiceController::~AlbumCoverChoiceController() {} AlbumCoverChoiceController::~AlbumCoverChoiceController() {}

View File

@@ -138,8 +138,6 @@ AlbumCoverManager::AlbumCoverManager(Application *app, CollectionBackend *collec
EnableCoversButtons(); EnableCoversButtons();
ReloadSettings();
} }
AlbumCoverManager::~AlbumCoverManager() { AlbumCoverManager::~AlbumCoverManager() {