[plasma/plasma-desktop] kcms/access: kcm/access: Drop writing UseSystemBell to kdeglobals

Nicolas Fella <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit f55be743f0cdf53e4327f44808eef87bef7fb986 by Nicolas Fella.
Committed on 06/08/2026 at 09:59.
Pushed by nicolasfella into branch 'master'.

kcm/access: Drop writing UseSystemBell to kdeglobals

It's not read anywhere

M  +0    -8    kcms/access/kcmaccess.cpp

https://invent.kde.org/plasma/plasma-desktop/-/commit/f55be743f0cdf53e4327f44808eef87bef7fb986

diff --git a/kcms/access/kcmaccess.cpp b/kcms/access/kcmaccess.cpp
index dcb3a5a26f..6a4adef3f7 100644
--- a/kcms/access/kcmaccess.cpp
+++ b/kcms/access/kcmaccess.cpp
@@ -21,7 +21,6 @@
 #include <QWindow>
 
 #include <KActionCollection>
-#include <KConfigGroup>
 #include <KGlobalAccel>
 #include <KKeyServer>
 #include <KLocalizedString>
@@ -287,13 +286,6 @@ void KAccessConfig::save()
 
     KQuickManagedConfigModule::save();
 
-    if (bellSettings()->systemBell() || bellSettings()->customBell() || bellSettings()->visibleBell()) {
-        KConfig _cfg(QStringLiteral("kdeglobals"), KConfig::NoGlobals);
-        KConfigGroup cfg(&_cfg, QStringLiteral("General"));
-        cfg.writeEntry("UseSystemBell", true);
-        cfg.sync();
-    }
-
     // make kaccess reread the configuration
     // turning a11y features off needs to be done by kaccess
     // so run it to clear any enabled features and it will exit if it should
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.