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:
parent
f8efbd81e4
commit
d3295f083b
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue