diff --git a/kcms/launch/package/contents/ui/main.qml b/kcms/launch/package/contents/ui/main.qml --- a/kcms/launch/package/contents/ui/main.qml +++ b/kcms/launch/package/contents/ui/main.qml @@ -18,7 +18,7 @@ import QtQuick 2.1 import QtQuick.Layouts 1.1 -import QtQuick.Controls 2.0 as QtControls +import QtQuick.Controls 2.2 as QtControls import org.kde.kirigami 2.3 as Kirigami import org.kde.kcm 1.1 @@ -61,32 +61,31 @@ text: i18n("No Feedback") - onCheckedChanged: Qt.callLater(function() { kcm.busyCursorCurrentIndex = 0; }) - + onToggled: kcm.busyCursorCurrentIndex = 0; } QtControls.RadioButton { id: busyCursorStatic text: i18n("Static") - onCheckedChanged: Qt.callLater(function() { kcm.busyCursorCurrentIndex = 1; }) + onToggled: kcm.busyCursorCurrentIndex = 1; } QtControls.RadioButton { id: busyCursorBlinking text: i18n("Blinking") - onCheckedChanged: Qt.callLater(function() { kcm.busyCursorCurrentIndex = 2; }) + onToggled: kcm.busyCursorCurrentIndex = 2; } QtControls.RadioButton { id: busyCursorBouncing text: i18n("Bouncing") - onCheckedChanged: Qt.callLater(function() { kcm.busyCursorCurrentIndex = 3; }) + onToggled: kcm.busyCursorCurrentIndex = 3; } } @@ -98,7 +97,7 @@ text: i18n("Enable animation") checked: kcm.taskManagerNotification - onCheckedChanged: kcm.taskManagerNotification = checked + onToggled: kcm.taskManagerNotification = checked } QtControls.SpinBox {