Also listen to the "/" appended string for url schemes

Windows adds a slash for some reason

CURA-11288
This commit is contained in:
c.lamboo 2023-12-06 13:33:57 +01:00
parent 568fc4ca76
commit 84d56367f4

View file

@ -1805,7 +1805,7 @@ class CuraApplication(QtApplication):
return
match url.host() + url.path():
case "open":
case "open" | "open/":
query = QUrlQuery(url.query())
model_url = QUrl(query.queryItemValue("file", options=QUrl.ComponentFormattingOption.FullyDecoded))