mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 14:00:16 +02:00
FEXQonfig: Recognize file: URLs in addition to file://
QUrl::fromLocalFile produces this format for relative paths.
This commit is contained in:
1 parent
de9ab6a023
commit
1cc54312fa
1 file changed
+3
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user