summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kdesktop/krootwm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdesktop/krootwm.cc b/kdesktop/krootwm.cc
index 95b0a3cb7..7d0e40b38 100644
--- a/kdesktop/krootwm.cc
+++ b/kdesktop/krootwm.cc
@@ -532,7 +532,7 @@ void KRootWm::slotToggleAutoAlign( bool b )
KConfig *kdg_config = new KConfig(cfilename, false, false);
kdg_config->setGroup( "General" );
- kdg_config->writeEntry( "AutoLineUpIcons", autoLineupIconsBox->isChecked() );
+ kdg_config->writeEntry( "AutoLineUpIcons", b );
kdg_config->sync();
delete kdg_config;