diff --git a/src/covermanager/albumcoverchoicecontroller.cpp b/src/covermanager/albumcoverchoicecontroller.cpp index 010cb650b..f1a32059f 100644 --- a/src/covermanager/albumcoverchoicecontroller.cpp +++ b/src/covermanager/albumcoverchoicecontroller.cpp @@ -672,6 +672,7 @@ QUrl AlbumCoverChoiceController::SaveCoverToFileAutomatic(const Song::Source sou if (!result.image_data.isEmpty() && result.is_jpeg()) { if (file.open(QIODevice::WriteOnly)) { if (file.write(result.image_data) > 0) { + file.close(); return QUrl::fromLocalFile(filepath); } else {