enforce absolute path if matching by absolute path

This commit is contained in:
itsmattkc
2019-02-09 22:47:18 -08:00
parent ca4e39449b
commit bfb3f28b48
+1
View File
@@ -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") {