diff --git a/src/covermanager/albumcoverchoicecontroller.cpp b/src/covermanager/albumcoverchoicecontroller.cpp index 29e19112d..04512d7a5 100644 --- a/src/covermanager/albumcoverchoicecontroller.cpp +++ b/src/covermanager/albumcoverchoicecontroller.cpp @@ -249,7 +249,7 @@ void AlbumCoverChoiceController::SaveCoverToFileManual(const Song &song, const A fileinfo.setFile(save_filename); } - if (result.is_jpeg() && fileinfo.completeSuffix().compare("jpg") == 0) { + if (result.is_jpeg() && fileinfo.completeSuffix().compare("jpg", Qt::CaseInsensitive) == 0) { QFile file(save_filename); if (file.open(QIODevice::WriteOnly)) { file.write(result.image_data);