Miss one...

This commit is contained in:
Arnaud Bienner 2012-02-20 21:59:11 +01:00
parent 1f93c26d97
commit 6cfddc7888
1 changed files with 2 additions and 2 deletions

View File

@ -220,8 +220,8 @@ QString AlbumCoverChoiceController::SaveCoverInCache(
hash.addData(artist.toLower().toUtf8().constData());
hash.addData(album.toLower().toUtf8().constData());
QString filename = hash.result().toHex() + ".jpg";
QString path = AlbumCoverLoader::ImageCacheDir() + "/" + filename;
QString filename(hash.result().toHex() + ".jpg");
QString path(AlbumCoverLoader::ImageCacheDir() + "/" + filename);
// Make sure this directory exists first
QDir dir;