Use QUrl::isLocalFile()

This commit is contained in:
Jonas Kvinge
2019-07-09 21:43:56 +02:00
parent f4b1ef4d04
commit 7fa1461d5e
13 changed files with 20 additions and 20 deletions

View File

@@ -502,7 +502,7 @@ uint XineEngine::length() const {
// Xine often delivers nonsense values for VBR files and such, so we only use the length for remote files
if (media_url_.scheme().toLower() == "file") return 0;
if (media_url_.isLocalFile()) return 0;
else {
int pos = 0, time = 0, length = 0;