Commit c874985c authored by Noah Davis's avatar Noah Davis 🌵
Browse files

Actually make homescreen work without Mycroft

Before, it would still error when trying to load MycroftWindow and MycroftIndicator
parent e282457e
......@@ -79,7 +79,7 @@ Item {
// Loader to make Mycroft completely optional
Loader {
sourceComponent: MycroftWindow {}
source: Qt.resolvedUrl("MycroftWindow.qml") ? Qt.resolvedUrl("MycroftWindow.qml") : null
}
ConfigWindow {
......@@ -168,7 +168,7 @@ Item {
// Loader to make Mycroft completely optional
Loader {
Layout.fillHeight: true
sourceComponent: MycroftIndicator {}
source: Qt.resolvedUrl("MycroftIndicator.qml") ? Qt.resolvedUrl("MycroftIndicator.qml") : null
}
Indicators.KdeConnect {
......
Markdown is supported
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