From d3295f083bc0e06914b6be381b7006be9e1ca4f9 Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Sat, 7 Sep 2013 00:23:56 +0200 Subject: [PATCH] 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 c9be07f508947043288a7631c9dcab7e4a88b09c. --- src/moodbar/moodbarloader.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/moodbar/moodbarloader.cpp b/src/moodbar/moodbarloader.cpp index 79b02eaf7..dacbe1e0e 100644 --- a/src/moodbar/moodbarloader.cpp +++ b/src/moodbar/moodbarloader.cpp @@ -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)) {