summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2014-04-08 17:23:12 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-04-08 17:23:12 +0200
commitea6a2153684d1e5cdb70e0601ebc178c047a54ea (patch)
treec5ec213a2ecc6a3c8f6c1d164dfde3d61cd1f813
parentd9f52880d2746730f444ca0af5eee697f94ae4f0 (diff)
downloadtdebase-ea6a2153684d1e5cdb70e0601ebc178c047a54ea.tar.gz
tdebase-ea6a2153684d1e5cdb70e0601ebc178c047a54ea.zip
Fix UseSAK default value in kcontrol - tdm, screensaver
This relates to Bug 1915
-rw-r--r--kcontrol/screensaver/scrnsave.cpp2
-rw-r--r--kcontrol/tdm/tdm-appear.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kcontrol/screensaver/scrnsave.cpp b/kcontrol/screensaver/scrnsave.cpp
index 8980c8e3c..0406bcf21 100644
--- a/kcontrol/screensaver/scrnsave.cpp
+++ b/kcontrol/screensaver/scrnsave.cpp
@@ -699,7 +699,7 @@ void KScreenSaver::processLockouts()
mDelaySaverStartCheckBox->setEnabled( false );
mDelaySaverStartCheckBox->setChecked( false );
}
- if (!mUseUnmanagedLockWindows && mTDMConfig->readBoolEntry("UseSAK", true)) {
+ if (!mUseUnmanagedLockWindows && mTDMConfig->readBoolEntry("UseSAK", false)) {
mUseTSAKCheckBox->setEnabled( true );
mUseTSAKCheckBox->setChecked( mUseTSAK );
}
diff --git a/kcontrol/tdm/tdm-appear.cpp b/kcontrol/tdm/tdm-appear.cpp
index 6e6761f27..cc35f3668 100644
--- a/kcontrol/tdm/tdm-appear.cpp
+++ b/kcontrol/tdm/tdm-appear.cpp
@@ -546,7 +546,7 @@ void TDMAppearanceWidget::load()
// See if the SAK is enabled
if (!sakwarning) {
- sakbox->setChecked(config->readBoolEntry("UseSAK", true));
+ sakbox->setChecked(config->readBoolEntry("UseSAK", false));
}
else {
sakbox->setChecked(false);