Load album cover controller settings when album cover manager is opened
This commit is contained in:
parent
b5bafbf23a
commit
5807bee23b
@ -1117,7 +1117,6 @@ void MainWindow::ReloadAllSettings() {
|
||||
app_->playlist_manager()->playlist_container()->ReloadSettings();
|
||||
app_->album_cover_loader()->ReloadSettings();
|
||||
album_cover_choice_controller_->ReloadSettings();
|
||||
if (cover_manager_.get()) cover_manager_->ReloadSettings();
|
||||
context_view_->ReloadSettings();
|
||||
file_view_->ReloadSettings();
|
||||
queue_view_->ReloadSettings();
|
||||
|
@ -153,8 +153,6 @@ AlbumCoverManager::AlbumCoverManager(Application *app, CollectionBackend *collec
|
||||
|
||||
EnableCoversButtons();
|
||||
|
||||
ReloadSettings();
|
||||
|
||||
}
|
||||
|
||||
AlbumCoverManager::~AlbumCoverManager() {
|
||||
@ -164,13 +162,6 @@ AlbumCoverManager::~AlbumCoverManager() {
|
||||
|
||||
}
|
||||
|
||||
void AlbumCoverManager::ReloadSettings() {
|
||||
|
||||
app_->album_cover_loader()->ReloadSettings();
|
||||
album_cover_choice_controller_->ReloadSettings();
|
||||
|
||||
}
|
||||
|
||||
void AlbumCoverManager::Init() {
|
||||
|
||||
// View menu
|
||||
@ -252,6 +243,7 @@ void AlbumCoverManager::showEvent(QShowEvent *e) {
|
||||
|
||||
if (!e->spontaneous()) {
|
||||
LoadGeometry();
|
||||
album_cover_choice_controller_->ReloadSettings();
|
||||
Reset();
|
||||
}
|
||||
|
||||
|
@ -80,7 +80,6 @@ class AlbumCoverManager : public QMainWindow {
|
||||
|
||||
void Reset();
|
||||
void Init();
|
||||
void ReloadSettings();
|
||||
|
||||
void EnableCoversButtons();
|
||||
void DisableCoversButtons();
|
||||
|
Loading…
x
Reference in New Issue
Block a user