Commit 91e6aeca authored by Marco Martin's avatar Marco Martin
Browse files

put mycroft import usage behind loaders

if mycroft-gui not installed, they will silently fail with
the main gui still working
parent 3a2c6ade
......@@ -77,8 +77,9 @@ Item {
id: feedbackWindow
}
MycroftWindow {
id: mycroftWindow
// Loader to make Mycroft completely optional
Loader {
sourceComponent: MycroftWindow {}
}
ConfigWindow {
......@@ -164,7 +165,11 @@ Item {
margins: units.smallSpacing
}
MycroftIndicator {}
// Loader to make Mycroft completely optional
Loader {
Layout.fillHeight: true
sourceComponent: MycroftIndicator {}
}
Indicators.Volume {
id: volumeIndicator
......
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