[utilities/kwalletmanager] src/konfigurator: Drop dead screensaver integration

Nicolas Fella <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 69ac240e4ba4ce6bcc5e0bead673b6127460ee0b by Nicolas Fella.
Committed on 24/07/2026 at 13:00.
Pushed by nicolasfella into branch 'master'.

Drop dead screensaver integration

The relevant KWallet code doesn't work and is being removed

M  +0    -4    src/konfigurator/konfigurator.cpp
M  +1    -11   src/konfigurator/walletconfigwidget.ui

https://invent.kde.org/utilities/kwalletmanager/-/commit/69ac240e4ba4ce6bcc5e0bead673b6127460ee0b

diff --git a/src/konfigurator/konfigurator.cpp b/src/konfigurator/konfigurator.cpp
index 36ad4b9a..4cb3d579 100644
--- a/src/konfigurator/konfigurator.cpp
+++ b/src/konfigurator/konfigurator.cpp
@@ -48,7 +48,6 @@ KWalletConfig::KWalletConfig(QObject *parent, const KPluginMetaData &data)
     connect(_wcw->_autoclose, &QCheckBox::clicked, this, &KWalletConfig::configChanged);
     connect(_wcw->_closeIdle, &QCheckBox::clicked, this, &KWalletConfig::configChanged);
     connect(_wcw->_openPrompt, &QCheckBox::clicked, this, &KWalletConfig::configChanged);
-    connect(_wcw->_screensaverLock, &QCheckBox::clicked, this, &KWalletConfig::configChanged);
     connect(_wcw->_localWalletSelected, &QCheckBox::clicked, this, &KWalletConfig::configChanged);
     connect(_wcw->_idleTime, static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, &KWalletConfig::configChanged);
     connect(_wcw->_launch, &QPushButton::clicked, this, &KWalletConfig::launchManager);
@@ -165,7 +164,6 @@ void KWalletConfig::load()
     _wcw->_openPrompt->setChecked(config.readEntry("Prompt on Open", false));
     _wcw->_launchManager->setChecked(config.readEntry("Launch Manager", false));
     _wcw->_autocloseManager->setChecked(!config.readEntry("Leave Manager Open", false));
-    _wcw->_screensaverLock->setChecked(config.readEntry("Close on Screensaver", false));
     _wcw->_autoclose->setChecked(!config.readEntry("Leave Open", true));
     _wcw->_closeIdle->setChecked(config.readEntry("Close When Idle", false));
     _wcw->_idleTime->setValue(config.readEntry("Idle Timeout", 10));
@@ -271,7 +269,6 @@ void KWalletConfig::save()
     config.writeEntry("Close When Idle", _wcw->_closeIdle->isChecked());
     config.writeEntry("Idle Timeout", _wcw->_idleTime->value());
     config.writeEntry("Prompt on Open", _wcw->_openPrompt->isChecked());
-    config.writeEntry("Close on Screensaver", _wcw->_screensaverLock->isChecked());
 
     config.writeEntry("Use One Wallet", !_wcw->_localWalletSelected->isChecked());
     if (_wcw->_localWalletSelected->isChecked()) {
@@ -337,7 +334,6 @@ void KWalletConfig::defaults()
     _wcw->_openPrompt->setChecked(false);
     _wcw->_launchManager->setChecked(true);
     _wcw->_autocloseManager->setChecked(false);
-    _wcw->_screensaverLock->setChecked(false);
     _wcw->_autoclose->setChecked(true);
     _wcw->_closeIdle->setChecked(false);
     _wcw->_idleTime->setValue(10);
diff --git a/src/konfigurator/walletconfigwidget.ui b/src/konfigurator/walletconfigwidget.ui
index fb5a6f4f..3aebb3e5 100644
--- a/src/konfigurator/walletconfigwidget.ui
+++ b/src/konfigurator/walletconfigwidget.ui
@@ -81,16 +81,6 @@
              </widget>
             </item>
             <item row="1" column="1">
-             <widget class="QCheckBox" name="_screensaverLock">
-              <property name="whatsThis">
-               <string>&lt;p&gt;&lt;b&gt;Close wallet as soon as the screensaver starts.&lt;/b&gt;&lt;br&gt;When a wallet is closed the password is needed to access it again.&lt;/p&gt;</string>
-              </property>
-              <property name="text">
-               <string>When screensaver starts</string>
-              </property>
-             </widget>
-            </item>
-            <item row="2" column="1">
              <widget class="QCheckBox" name="_closeIdle">
               <property name="whatsThis">
                <string>&lt;p&gt;&lt;b&gt;Close wallet after a period of inactivity.&lt;/b&gt;&lt;br&gt;When a wallet is closed the password is needed to access it again.&lt;/p&gt;</string>
@@ -100,7 +90,7 @@
               </property>
              </widget>
             </item>
-            <item row="3" column="1">
+            <item row="2" column="1">
              <widget class="QSpinBox" name="_idleTime">
               <property name="enabled">
                <bool>false</bool>
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.