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.
This commit is contained in:
Arnaud Bienner 2013-09-07 00:23:56 +02:00
parent f8efbd81e4
commit d3295f083b
1 changed files with 0 additions and 11 deletions

View File

@ -81,17 +81,6 @@ MoodbarLoader::Result MoodbarLoader::Load(
if (url.scheme() != "file") { if (url.scheme() != "file") {
return CannotLoad; 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? // Are we in the middle of loading this moodbar already?
if (requests_.contains(url)) { if (requests_.contains(url)) {