summaryrefslogtreecommitdiff
path: root/src/controls/Styles/Base/StatusIndicatorStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles/Base/StatusIndicatorStyle.qml')
-rw-r--r--src/controls/Styles/Base/StatusIndicatorStyle.qml12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/controls/Styles/Base/StatusIndicatorStyle.qml b/src/controls/Styles/Base/StatusIndicatorStyle.qml
index a334aa62..ae9f2110 100644
--- a/src/controls/Styles/Base/StatusIndicatorStyle.qml
+++ b/src/controls/Styles/Base/StatusIndicatorStyle.qml
@@ -92,8 +92,8 @@ Style {
Connections {
target: control
- onActiveChanged: backgroundCanvas.requestPaint()
- onColorChanged: backgroundCanvas.requestPaint()
+ function onActiveChanged() { backgroundCanvas.requestPaint() }
+ function onColorChanged() { backgroundCanvas.requestPaint() }
}
onPaint: {
@@ -124,8 +124,8 @@ Style {
Connections {
target: control
- onActiveChanged: colorCanvas.requestPaint()
- onColorChanged: colorCanvas.requestPaint()
+ function onActiveChanged() { colorCanvas.requestPaint() }
+ function onColorChanged() { colorCanvas.requestPaint() }
}
onPaint: {
@@ -157,8 +157,8 @@ Style {
Connections {
target: control
- onActiveChanged: foregroundCanvas.requestPaint()
- onColorChanged: foregroundCanvas.requestPaint()
+ function onActiveChanged() { foregroundCanvas.requestPaint() }
+ function onColorChanged() { foregroundCanvas.requestPaint() }
}
onPaint: {