minor code cleanup.
This commit is contained in:
parent
43cae07762
commit
3637caf68c
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
|
@ -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 ) ) );
|
||||
|
|
Loading…
Reference in a new issue