Commit 5b5b79ff authored by Volker Krause's avatar Volker Krause
Browse files

Resolve QML file URLs for use in Loader

Required by Qt 6.
parent e31ba756
Pipeline #227620 passed with stage
in 16 minutes and 29 seconds
......@@ -19,9 +19,9 @@ Loader {
source: {
if (model.itemType === "Plasmoid" && model.hasApplet) {
return "PlasmoidItem.qml"
return Qt.resolvedUrl("PlasmoidItem.qml")
} else if (model.itemType === "StatusNotifier") {
return "StatusNotifierItem.qml"
return Qt.resolvedUrl("StatusNotifierItem.qml")
}
console.warn("SystemTray ItemLoader: Invalid state, cannot determine source!")
return ""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment