diff --git a/package/contents/ui/ConfigGeneral.qml b/package/contents/ui/ConfigGeneral.qml index 3b1b6d8..6f26b40 100644 --- a/package/contents/ui/ConfigGeneral.qml +++ b/package/contents/ui/ConfigGeneral.qml @@ -2,24 +2,27 @@ import QtQuick import QtQuick.Controls import org.kde.kirigami as Kirigami +import org.kde.kcmutils as KCM -Kirigami.FormLayout { +KCM.SimpleKCM { property alias cfg_toggleConnectionOnMiddleButton: toggleConnectionOnMiddleButton.checked property alias cfg_hideWhenDisconnected: hideWhenDisconnected.checked property alias cfg_showNotifications: showNotifications.checked - CheckBox { - id: toggleConnectionOnMiddleButton - Kirigami.FormData.label: i18n("Toggle connection on middle mouse button") - } + Kirigami.FormLayout { + CheckBox { + id: toggleConnectionOnMiddleButton + Kirigami.FormData.label: i18n("Toggle connection on middle mouse button") + } - CheckBox { - id: hideWhenDisconnected - Kirigami.FormData.label: i18n("Hide icon when disconnected") - } + CheckBox { + id: hideWhenDisconnected + Kirigami.FormData.label: i18n("Hide icon when disconnected") + } - CheckBox { - id: showNotifications - Kirigami.FormData.label: i18n("Show notifications") + CheckBox { + id: showNotifications + Kirigami.FormData.label: i18n("Show notifications") + } } } \ No newline at end of file