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

[Notifications] Check proper group for show popups in dnd mode setting

It checked the wrong one resulting in the setting not being written.

BUG: 407534
FIXED-IN: 5.16.0

Differential Revision:
parent 08b027f1
......@@ -105,7 +105,7 @@ void Settings::Private::setGroupBehavior(KConfigGroup &group, const Settings::No
const bool showPopupsInDndMode = behavior.testFlag(Settings::ShowPopupsInDoNotDisturbMode);
if (!showPopupsInDndMode && !group.hasDefault("ShowPopups")) {
if (!showPopupsInDndMode && !group.hasDefault("ShowPopupsInDndMode")) {
group.revertToDefault("ShowPopupsInDndMode", KConfigBase::Notify);
} else {
group.writeEntry("ShowPopupsInDndMode", showPopupsInDndMode, KConfigBase::Notify);
Supports Markdown
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