summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-05-15 01:36:02 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 03:27:28 +0200
commit3ac0ac3aee391602b37913c7146137784017ec8e (patch)
tree1dd57ce659c14b8a3ac65ef4b354222bbf607156
parentd8d8cc4759d2c3abcb460045d4a5e51ff6173076 (diff)
downloadtdebase-3ac0ac3aee391602b37913c7146137784017ec8e.tar.gz
tdebase-3ac0ac3aee391602b37913c7146137784017ec8e.zip
Fix KHTML smooth scrolling control center option
This closes Bug 1001 Thanks to Roman Savochenko for the patch! (cherry picked from commit b45b4bd730da3196a4658773f7eef46e004a39d6)
-rw-r--r--kcontrol/konqhtml/htmlopts.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kcontrol/konqhtml/htmlopts.cpp b/kcontrol/konqhtml/htmlopts.cpp
index 0b81421a8..9e199cbe4 100644
--- a/kcontrol/konqhtml/htmlopts.cpp
+++ b/kcontrol/konqhtml/htmlopts.cpp
@@ -299,7 +299,7 @@ void KMiscHTMLOptions::load( bool useDefaults )
KConfig kdeglobals("kdeglobals", true, false);
kdeglobals.setReadDefaults( useDefaults );
kdeglobals.setGroup("KDE");
- bool smoothScrolling = kdeglobals.readBoolEntry("SmoothScroll", DEFAULT_SMOOTHSCROLL);
+ bool smoothScrolling = kdeglobals.readBoolEntry("SmoothScrolling", DEFAULT_SMOOTHSCROLL);
if (smoothScrolling)
m_pSmoothScrollingCombo->setCurrentItem( SmoothScrollingAlways );
else
@@ -374,13 +374,13 @@ void KMiscHTMLOptions::save()
switch(m_pSmoothScrollingCombo->currentItem())
{
case SmoothScrollingAlways:
- kdeglobals.writeEntry( "SmoothScroll", true );
+ kdeglobals.writeEntry( "SmoothScrolling", true );
break;
case SmoothScrollingNever:
- kdeglobals.writeEntry( "SmoothScroll", false );
+ kdeglobals.writeEntry( "SmoothScrolling", false );
break;
// case SmoothScrollingWhenEfficient:
- // kdeglobals.writeEntry( "SmoothScroll", somethingelse );
+ // kdeglobals.writeEntry( "SmoothScrolling", somethingelse );
// break;
}
kdeglobals.sync();