From bfb3f28b484ec3b407fc0923531ed9674ab0460d Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sat, 9 Feb 2019 22:47:18 -0800 Subject: [PATCH] enforce absolute path if matching by absolute path --- io/loadthread.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/io/loadthread.cpp b/io/loadthread.cpp index 24825bcb4..281841763 100644 --- a/io/loadthread.cpp +++ b/io/loadthread.cpp @@ -218,6 +218,7 @@ bool LoadThread::load_worker(QFile& f, QXmlStreamReader& stream, int type) { qInfo() << "Failed to match" << attr.value().toString() << "to file"; } } else { + f->url = QFileInfo(f->url).absoluteFilePath(); qInfo() << "Matched" << attr.value().toString() << "with absolute path"; } } else if (attr.name() == "duration") {