mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-22 06:20:58 +00:00
FEXQonfig: Recognize file: URLs in addition to file://
QUrl::fromLocalFile produces this format for relative paths.
This commit is contained in:
parent
de9ab6a023
commit
1cc54312fa
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user