summaryrefslogtreecommitdiffstats
path: root/korn/korncfgimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korn/korncfgimpl.cpp')
-rw-r--r--korn/korncfgimpl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/korn/korncfgimpl.cpp b/korn/korncfgimpl.cpp
index ae49765cf..df4264643 100644
--- a/korn/korncfgimpl.cpp
+++ b/korn/korncfgimpl.cpp
@@ -198,10 +198,10 @@ void KornCfgImpl::readConfig()
{
_config->setGroup( "korn" );
- TQChar layout = _config->readEntry( "layout" ).stripWhiteSpace()[0].upper();
- if( layout == TQChar( 'H' ) )
+ TQChar tqlayout = _config->readEntry( "tqlayout" ).stripWhiteSpace()[0].upper();
+ if( tqlayout == TQChar( 'H' ) )
rbHorizontal->setChecked( true );
- else if( layout == TQChar( 'V' ) )
+ else if( tqlayout == TQChar( 'V' ) )
rbVertical->setChecked( true );
else
rbDocked->setChecked( true );
@@ -214,11 +214,11 @@ void KornCfgImpl::writeConfig()
_config->setGroup( "korn" );
if( rbHorizontal->isChecked() )
- _config->writeEntry( "layout", "Horizontal" );
+ _config->writeEntry( "tqlayout", "Horizontal" );
if( rbVertical->isChecked() )
- _config->writeEntry( "layout", "Vertical" );
+ _config->writeEntry( "tqlayout", "Vertical" );
if( rbDocked->isChecked() )
- _config->writeEntry( "layout", "Docked" );
+ _config->writeEntry( "tqlayout", "Docked" );
//Default is 'false' here, because if no option is set, KWallet isn't used.
if( _config->readBoolEntry( "usewallet", false ) != chUseWallet->isChecked() )