diff --git a/Modules/Bar/Widgets/MediaMini.qml b/Modules/Bar/Widgets/MediaMini.qml index 0594b5c05..d24007014 100644 --- a/Modules/Bar/Widgets/MediaMini.qml +++ b/Modules/Bar/Widgets/MediaMini.qml @@ -67,7 +67,7 @@ Item { } // CavaService registration for visualizer - readonly property string cavaComponentId: "bar:mediamini:" + root.screen.name + ":" + root.section + ":" + root.sectionWidgetIndex + readonly property string cavaComponentId: "bar:mediamini:" + root.screen?.name + ":" + root.section + ":" + root.sectionWidgetIndex readonly property bool needsCava: root.showVisualizer && root.visualizerType !== "" && root.visualizerType !== "none" onNeedsCavaChanged: { diff --git a/Services/Networking/BluetoothService.qml b/Services/Networking/BluetoothService.qml index 591c20d5e..27775c710 100644 --- a/Services/Networking/BluetoothService.qml +++ b/Services/Networking/BluetoothService.qml @@ -202,7 +202,9 @@ BluetoothAgent { id: discoveryTimer interval: 1000 repeat: false - onTriggered: adapter.discovering = true + onTriggered: { + if (adapter) adapter.discovering = true + } } Connections {