When saving covers in the conver dialog, if dest folder does not exist then save in the cache folder.

This commit is contained in:
Craig Drummond
2015-12-04 22:52:15 +00:00
committed by Craig Drummond
parent e0a3051352
commit 947aac0a10
2 changed files with 3 additions and 0 deletions

View File

@@ -78,6 +78,8 @@
56. Fix context widget backdrop retrieval from fan-art
57. Fix/work-around Qt 5.5 issues with QMenu being used in 2 actions.
58. When looking for covers, also check sub-folders and return first image.
59. When saving covers in the conver dialog, if dest folder does not exisy then
save in the cache folder.
1.5.2
-----

View File

@@ -1287,6 +1287,7 @@ bool CoverDialog::saveCover(const QString &src, const QImage &img)
dirName=filePath.endsWith('/') ? (haveAbsPath ? QString() : mpdDir)+filePath
: Utils::getDir((haveAbsPath ? QString() : mpdDir)+filePath);
}
saveInMpd=QDir(dirName).exists();
}
if (isArtist) {