summaryrefslogtreecommitdiffstats
path: root/opensuse/tdebase/kdesu-remember-keep-password.diff
blob: 29e9002d8cc8445568e10dece79eb6d1dfb84ad9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Subject: Default to kdesu password remembering on, but remember last state
From: Lubos Lunak
Feature: bnc#386531
Patch-upstream: no
Relates: kdebase4/kdesu-remember-keep-password.diff, kdelibs3/kdesu-settings.diff

Index: kdesu/kdesu/kdesu.cpp
===================================================================
--- kdesu/kdesu/kdesu.cpp	(revision 810363)
+++ kdesu/kdesu/kdesu.cpp	(working copy)
@@ -382,6 +382,7 @@
             change_uid = false;
         password = dlg.password();
         keep = dlg.keep();
+        KConfigGroup(config,"Passwords").writeEntry("Keep", keep);
         data.setSilent( KStartupInfoData::No );
         KStartupInfo::sendChange( id, data );
     }