1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-22 13:40:28 +01:00

Move comment

This commit is contained in:
Jonas Kvinge 2021-03-07 07:05:02 +01:00
parent e2cd68e3e8
commit d3e5b1b4e0

View File

@ -1142,8 +1142,8 @@ void EditTagDialog::SaveData() {
} }
} }
if (ui_->checkbox_embedded_cover->isChecked() && ref.original_.save_embedded_cover_supported()) { if (ui_->checkbox_embedded_cover->isChecked() && ref.original_.save_embedded_cover_supported()) {
if (ref.cover_action_ == UpdateCoverAction_New) { // Save JPEG data directly. if (ref.cover_action_ == UpdateCoverAction_New) {
if (ref.cover_result_.is_jpeg()) { if (ref.cover_result_.is_jpeg()) { // Save JPEG data directly.
++save_art_pending_; ++save_art_pending_;
TagReaderReply *reply = TagReaderClient::Instance()->SaveEmbeddedArt(ref.current_.url().toLocalFile(), ref.cover_result_.image_data); TagReaderReply *reply = TagReaderClient::Instance()->SaveEmbeddedArt(ref.current_.url().toLocalFile(), ref.cover_result_.image_data);
QObject::connect(reply, &TagReaderReply::Finished, this, [this, reply, ref]() { QObject::connect(reply, &TagReaderReply::Finished, this, [this, reply, ref]() {