Fix QUrl creation from file path string to use QUrl::fromLocalFile, otherwise...
Fix QUrl creation from file path string to use QUrl::fromLocalFile, otherwise .toLocalFile() afterwards will always fail with an empty string because the URL never actually was an file url. See official API docs for more information: https://doc.qt.io/qt-5/qurl.html#toLocalFile