Commit 3417dd16 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Notifications KCM] Add checkbox for enabling do not disturb mode when screens are mirrored

Group settings related to do not disturb mode there as well.

Differential Revision:
parent ee13633f
......@@ -47,13 +47,20 @@ KCM.SimpleKCM {
Kirigami.FormLayout {
QtControls.CheckBox {
Kirigami.FormData.label: i18n("Critical notifications:")
text: i18n("Show in do not disturb mode")
Kirigami.FormData.label: i18n("Do not disturb:")
text: i18nc("Do not disturb when screens are mirrored", "When screens are mirrored")
checked: kcm.settings.inhibitNotificationsWhenScreensMirrored
onClicked: kcm.settings.inhibitNotificationsWhenScreensMirrored = checked
QtControls.CheckBox {
text: i18n("Show critical notifications")
checked: kcm.settings.criticalPopupsInDoNotDisturbMode
onClicked: kcm.settings.criticalPopupsInDoNotDisturbMode = checked
QtControls.CheckBox {
Kirigami.FormData.label: i18n("Critical notifications:")
text: i18n("Always keep on top")
checked: kcm.settings.keepCriticalAlwaysOnTop
onClicked: kcm.settings.keepCriticalAlwaysOnTop = checked
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment