From 3c5c5172205c518a04d96c35a14ad59f32e2f2f7 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Thu, 24 Feb 2011 08:24:00 +0100 Subject: [PATCH] Oxygen::Config - fixed writting of shadowMode. --- clients/oxygen/config/oxygenconfig.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clients/oxygen/config/oxygenconfig.cpp b/clients/oxygen/config/oxygenconfig.cpp index 14a7ffd025..dac011592a 100644 --- a/clients/oxygen/config/oxygenconfig.cpp +++ b/clients/oxygen/config/oxygenconfig.cpp @@ -153,6 +153,7 @@ namespace Oxygen configuration.setFrameBorder( Configuration::frameBorder( userInterface_->ui.frameBorder->currentText(), true ) ); configuration.setSizeGripMode( Configuration::sizeGripMode( userInterface_->ui.sizeGripMode->currentText(), true ) ); configuration.setShadowCacheMode( Configuration::shadowCacheMode( userInterface_->ui.shadowCacheMode->currentText(), true ) ); + configuration.setShadowMode( Configuration::shadowMode( userInterface_->ui.shadowMode->currentText(), true ) ); configuration.setSeparatorMode( (Oxygen::Configuration::SeparatorMode) userInterface_->ui.separatorMode->currentIndex() ); configuration.setDrawTitleOutline( userInterface_->ui.titleOutline->isChecked() ); configuration.setUseDropShadows( userInterface_->shadowConfigurations[1]->isChecked() ); @@ -171,8 +172,6 @@ namespace Oxygen userInterface_->ui.exceptions->exceptions().write( *configuration_ ); // write shadow configuration - configurationGroup.writeEntry( OxygenConfig::SHADOW_MODE, - Configuration::shadowModeName( Configuration::shadowMode( userInterface_->ui.shadowMode->currentText(), true ), false ) ); saveShadowConfiguration( QPalette::Active, *userInterface_->shadowConfigurations[0] ); saveShadowConfiguration( QPalette::Inactive, *userInterface_->shadowConfigurations[1] );