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