FEXQonfig: Recognize file: URLs in addition to file://

QUrl::fromLocalFile produces this format for relative paths.
This commit is contained in:
Tony Wasserka 2024-09-05 12:54:55 +02:00
parent de9ab6a023
commit 1cc54312fa

View File

@ -48,6 +48,9 @@ ApplicationWindow {
if (str.startsWith("file://")) {
return decodeURIComponent(str.substring(7))
}
if (str.startsWith("file:")) {
return decodeURIComponent(str.substring(5))
}
return str;
}