From 1cc54312fa5c17a91e23534a095406ccbb0534d2 Mon Sep 17 00:00:00 2001 From: Tony Wasserka Date: Thu, 5 Sep 2024 12:54:55 +0200 Subject: [PATCH] FEXQonfig: Recognize file: URLs in addition to file:// QUrl::fromLocalFile produces this format for relative paths. --- Source/Tools/FEXQonfig/main.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Tools/FEXQonfig/main.qml b/Source/Tools/FEXQonfig/main.qml index 9f91a11ef9..c8cb01aa82 100644 --- a/Source/Tools/FEXQonfig/main.qml +++ b/Source/Tools/FEXQonfig/main.qml @@ -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; }