import QtQuick import "../../services" import "../../components" SettingRow { id: root property string label title: label clickable: enabled onClicked: ConfigService.setValue(setting, !ConfigService.value(setting)) GlassToggle { checked: !!ConfigService.value(root.setting) onToggled: ConfigService.setValue(root.setting, checked) } }