Add support for saving embedded album covers

Fixes #286
This commit is contained in:
Jonas Kvinge
2021-02-26 21:03:51 +01:00
parent e4c89c1aed
commit 133f094d72
79 changed files with 3509 additions and 1804 deletions

View File

@@ -189,14 +189,15 @@ SettingsDialog::~SettingsDialog() {
void SettingsDialog::showEvent(QShowEvent *e) {
LoadGeometry();
// Load settings
loading_settings_ = true;
for (const PageData &page : pages_.values()) {
page.page_->Load();
if (!e->spontaneous()) {
LoadGeometry();
// Load settings
loading_settings_ = true;
for (const PageData &page : pages_.values()) {
page.page_->Load();
}
loading_settings_ = false;
}
loading_settings_ = false;
QDialog::showEvent(e);