summaryrefslogtreecommitdiffstats
path: root/kcontrol
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2014-04-09 23:07:29 +0200
committerSlávek Banko <[email protected]>2014-04-09 23:10:48 +0200
commit99d1c3d87fc83557e55f44878463b5506e0a15bd (patch)
tree43ab7b9bafaa60db2d9ab52e75f6d8dae653953f /kcontrol
parenta3c47872204bf2fb4a4c005547e76e976fa2dc92 (diff)
downloadtdebase-99d1c3d87fc83557e55f44878463b5506e0a15bd.tar.gz
tdebase-99d1c3d87fc83557e55f44878463b5506e0a15bd.zip
Fix group used for UseSAK option in tdmrc
This relates to Bug 1915
Diffstat (limited to 'kcontrol')
-rw-r--r--kcontrol/screensaver/scrnsave.cpp2
-rw-r--r--kcontrol/tdm/tdm-appear.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/kcontrol/screensaver/scrnsave.cpp b/kcontrol/screensaver/scrnsave.cpp
index 0406bcf21..33df74f27 100644
--- a/kcontrol/screensaver/scrnsave.cpp
+++ b/kcontrol/screensaver/scrnsave.cpp
@@ -58,7 +58,7 @@ if( stat( KDE_CONFDIR "/tdm/tdmdistrc" , &st ) == 0) { \
else { \
mTDMConfig = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/tdm/tdmrc" )); \
} \
-mTDMConfig->setGroup("X-*-Greeter");
+mTDMConfig->setGroup("X-:*-Greeter");
template class TQPtrList<SaverConfig>;
diff --git a/kcontrol/tdm/tdm-appear.cpp b/kcontrol/tdm/tdm-appear.cpp
index cc35f3668..8d3f848b5 100644
--- a/kcontrol/tdm/tdm-appear.cpp
+++ b/kcontrol/tdm/tdm-appear.cpp
@@ -477,6 +477,7 @@ void TDMAppearanceWidget::save()
config->writeEntry("Language", langcombo->current());
if (!sakwarning) {
+ config->setGroup("X-:*-Greeter");
config->writeEntry("UseSAK", sakbox->isChecked());
}
@@ -546,6 +547,7 @@ void TDMAppearanceWidget::load()
// See if the SAK is enabled
if (!sakwarning) {
+ config->setGroup("X-:*-Greeter");
sakbox->setChecked(config->readBoolEntry("UseSAK", false));
}
else {