1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-19 21:04:08 +01:00

Revert "Update issue 3682: deactivate moodbar generation for wma files on Windows until we find a proper way to fix this issue."

This is not needed anymore now issue 3682 is fixed.

This reverts commit c9be07f508.
(cherry picked from commit d3295f083b)
This commit is contained in:
Arnaud Bienner 2013-09-07 00:23:56 +02:00
parent efc5f31d9b
commit 1fc573a3eb

View File

@ -81,17 +81,6 @@ MoodbarLoader::Result MoodbarLoader::Load(
if (url.scheme() != "file") {
return CannotLoad;
}
#ifdef Q_OS_WIN32
// Clementine will crash when trying to generate the moodbar for wma files on
// Windows. See issue 3682. Deactivate moodbar generation for these files for now
{
const QString extension = QFileInfo(url.toLocalFile()).suffix();
if (extension.compare("wma", Qt::CaseInsensitive) == 0 ||
extension.compare("asf", Qt::CaseInsensitive) == 0) {
return CannotLoad;
}
}
#endif // Q_OS_WIN32
// Are we in the middle of loading this moodbar already?
if (requests_.contains(url)) {