diff --git a/components/StyledSwitch.qml b/components/StyledSwitch.qml index c2af7db..f1671b1 100644 --- a/components/StyledSwitch.qml +++ b/components/StyledSwitch.qml @@ -51,5 +51,5 @@ Switch { } } - background: null + background: Item {} } diff --git a/modules/pomodoro/Pomodoro.qml b/modules/pomodoro/Pomodoro.qml index 9d970d8..249dcda 100644 --- a/modules/pomodoro/Pomodoro.qml +++ b/modules/pomodoro/Pomodoro.qml @@ -72,7 +72,7 @@ StyledWindow { text: Pomodoro.running ? Icons.square : Icons.play font.pixelSize: 48 - background: undefined + background: Item {} onClicked: { Pomodoro.toggle(); }