From aff64607bff84009aa15a4cbb2e2891d0763c72e Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Mon, 10 May 2010 02:19:52 +0000 Subject: [PATCH] fixed shadow configuration updateChanged handling svn path=/trunk/KDE/kdebase/workspace/; revision=1124750 --- clients/oxygen/config/oxygenconfig.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/oxygen/config/oxygenconfig.cpp b/clients/oxygen/config/oxygenconfig.cpp index e318335c73..1ad6e6cc26 100644 --- a/clients/oxygen/config/oxygenconfig.cpp +++ b/clients/oxygen/config/oxygenconfig.cpp @@ -125,8 +125,8 @@ namespace Oxygen else if( userInterface_->ui.narrowButtonSpacing->isChecked() != configuration.useNarrowButtonSpacing() ) modified = true; // shadow configurations - else if( shadowConfigurationChanged( ShadowConfiguration( QPalette::Active ), *userInterface_->shadowConfigurations[0] ) ) modified = true; - else if( shadowConfigurationChanged( ShadowConfiguration( QPalette::Inactive ), *userInterface_->shadowConfigurations[1] ) ) modified = true; + else if( shadowConfigurationChanged( ShadowConfiguration( QPalette::Active, KConfigGroup( configuration_, "ActiveShadow") ), *userInterface_->shadowConfigurations[0] ) ) modified = true; + else if( shadowConfigurationChanged( ShadowConfiguration( QPalette::Inactive, KConfigGroup( configuration_, "InactiveShadow") ), *userInterface_->shadowConfigurations[1] ) ) modified = true; // exceptions else if( exceptionListChanged() ) modified = true;