1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-31 09:44:50 +01:00

Set album cover loader options in edit tag dialog

This commit is contained in:
Jonas Kvinge 2021-03-13 01:52:37 +01:00
parent 9079a7988c
commit f77e7334c5

View File

@ -109,7 +109,7 @@ EditTagDialog::EditTagDialog(Application *app, QWidget *parent)
tag_fetcher_(new TagFetcher(this)), tag_fetcher_(new TagFetcher(this)),
results_dialog_(new TrackSelectionDialog(this)), results_dialog_(new TrackSelectionDialog(this)),
#endif #endif
image_no_cover_thumbnail_(ImageUtils::GenerateNoCoverImage(QSize(120, 120))), image_no_cover_thumbnail_(ImageUtils::GenerateNoCoverImage(QSize(128, 128))),
loading_(false), loading_(false),
ignore_edits_(false), ignore_edits_(false),
summary_cover_art_id_(-1), summary_cover_art_id_(-1),
@ -246,6 +246,11 @@ EditTagDialog::EditTagDialog(Application *app, QWidget *parent)
new TagCompleter(app_->collection_backend(), Playlist::Column_Performer, ui_->performer); new TagCompleter(app_->collection_backend(), Playlist::Column_Performer, ui_->performer);
new TagCompleter(app_->collection_backend(), Playlist::Column_Grouping, ui_->grouping); new TagCompleter(app_->collection_backend(), Playlist::Column_Grouping, ui_->grouping);
cover_options_.get_image_data_ = true;
cover_options_.get_image_ = true;
cover_options_.scale_output_image_ = true;
cover_options_.desired_height_ = 128;
} }
EditTagDialog::~EditTagDialog() { EditTagDialog::~EditTagDialog() {