Commit 849e8dca authored by Antonio Rojas's avatar Antonio Rojas

Fix displaying covers from cover.jpg files

Currently, images from cover.jpg files in the currently playing file are unconditionally overwritten with embedded covers, so cover images are never displayed for files that don't have embedded cover info.

Differential Revision: https://phabricator.kde.org/D18885
parent 5c1470d2
Pipeline #1046 passed with stage
in 5 minutes and 26 seconds
......@@ -237,6 +237,7 @@ QPixmap CoverInfo::pixmap(CoverSize size) const
if(!cover.load(fileName))
return QPixmap();
}
return QPixmap::fromImage(cover);
}
// If we get here, see if there is an embedded cover.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment