diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2014-04-09 23:07:29 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-04-09 23:10:48 +0200 |
commit | 99d1c3d87fc83557e55f44878463b5506e0a15bd (patch) | |
tree | 43ab7b9bafaa60db2d9ab52e75f6d8dae653953f /kcontrol | |
parent | a3c47872204bf2fb4a4c005547e76e976fa2dc92 (diff) | |
download | tdebase-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.cpp | 2 | ||||
-rw-r--r-- | kcontrol/tdm/tdm-appear.cpp | 2 |
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 { |