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 ++ kdesktop/lock/main.cc | 2 +- 3 files changed, 4 insertions(+), 2 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; 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 { diff --git a/kdesktop/lock/main.cc b/kdesktop/lock/main.cc index 00c4fd50d..c90c2ef6b 100644 --- a/kdesktop/lock/main.cc +++ b/kdesktop/lock/main.cc @@ -61,7 +61,7 @@ if( stat( KDE_CONFDIR "/tdm/tdmdistrc" , &st ) == 0) { \ else { \ tdmconfig = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/tdm/tdmrc" )); \ } \ -tdmconfig->setGroup("X-*-Greeter"); +tdmconfig->setGroup("X-:*-Greeter"); TQXLibWindowList trinity_desktop_lock_hidden_window_list; -- cgit v1.2.1