From 3637caf68c01146f29d793594bf90f419a951cc0 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Mon, 18 Jul 2011 10:21:17 +0200 Subject: [PATCH] minor code cleanup. --- clients/oxygen/config/oxygenconfig.cpp | 2 +- clients/oxygen/config/oxygenconfigurationui.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/oxygen/config/oxygenconfig.cpp b/clients/oxygen/config/oxygenconfig.cpp index dd94cfeda1..72f11ed0f3 100644 --- a/clients/oxygen/config/oxygenconfig.cpp +++ b/clients/oxygen/config/oxygenconfig.cpp @@ -158,7 +158,6 @@ namespace Oxygen configuration.setUseOxygenShadows( ui->shadowConfigurations[0]->isChecked() ); configuration.setUseNarrowButtonSpacing( ui->ui.narrowButtonSpacing->isChecked() ); - // save into configuration if( ui->expertMode() ) { @@ -171,6 +170,7 @@ namespace Oxygen configuration.setAnimationsEnabled( ui->ui.animationsEnabled->isChecked() ); } + // save standard configuration KConfigGroup configurationGroup( _configuration, "Windeco"); configurationGroup.deleteGroup(); diff --git a/clients/oxygen/config/oxygenconfigurationui.cpp b/clients/oxygen/config/oxygenconfigurationui.cpp index 192b89665b..caf5783fa0 100644 --- a/clients/oxygen/config/oxygenconfigurationui.cpp +++ b/clients/oxygen/config/oxygenconfigurationui.cpp @@ -106,7 +106,6 @@ namespace Oxygen connect( ui.blendColor, SIGNAL(currentIndexChanged(int)), SIGNAL(changed()) ); connect( ui.sizeGripMode, SIGNAL(currentIndexChanged(int)), SIGNAL(changed()) ); - connect( ui.animationsEnabled, SIGNAL(clicked()), SIGNAL(changed()) ); connect( ui.narrowButtonSpacing, SIGNAL(clicked()), SIGNAL(changed()) ); connect( ui.separatorMode, SIGNAL(currentIndexChanged(int)), SIGNAL(changed()) ); connect( ui.titleOutline, SIGNAL(clicked()), SIGNAL(changed()) ); @@ -117,6 +116,7 @@ namespace Oxygen ui._expertModeButton->setIcon( KIcon("configure") ); // animation config widget + connect( ui.animationsEnabled, SIGNAL(clicked()), SIGNAL(changed()) ); _animationConfigWidget = new AnimationConfigWidget(); _animationConfigWidget->installEventFilter( this ); connect( _animationConfigWidget, SIGNAL( changed( bool ) ), SIGNAL( changed( void ) ) );