mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
Make local file playback work on Windows again
This commit is contained in:
parent
5a7437ddd6
commit
6f7dbf3286
@ -359,7 +359,7 @@ bool GstEngine::Load(const QUrl& url, Engine::TrackChangeType change) {
|
||||
// Clementine just crashes when asked to load a file that doesn't exist on
|
||||
// Windows, so check for that here. This is definitely the wrong place for
|
||||
// this "fix"...
|
||||
if (url.scheme() == "file" && !QFile::exists(url.path()))
|
||||
if (url.scheme() == "file" && !QFile::exists(url.toLocalFile()))
|
||||
return false;
|
||||
|
||||
const bool crossfade = current_pipeline_ &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user