From 99d1c3d87fc83557e55f44878463b5506e0a15bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 9 Apr 2014 23:07:29 +0200 Subject: Fix group used for UseSAK option in tdmrc This relates to Bug 1915 --- kcontrol/screensaver/scrnsave.cpp | 2 +- kcontrol/tdm/tdm-appear.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'kcontrol') 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; 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 { -- cgit v1.2.1