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