diff --git a/clients/oxygen/config/oxygenconfigwidget.cpp b/clients/oxygen/config/oxygenconfigwidget.cpp index 624fe90efc..137b371690 100644 --- a/clients/oxygen/config/oxygenconfigwidget.cpp +++ b/clients/oxygen/config/oxygenconfigwidget.cpp @@ -82,10 +82,8 @@ namespace Oxygen connect( ui.exceptions, SIGNAL( changed( bool ) ), SLOT( updateChanged( void ) ) ); // track shadow configuration changes - connect( shadowConfigurations[0], SIGNAL( changed( void ) ), SLOT( updateChanged( void ) ) ); - connect( shadowConfigurations[0], SIGNAL( toggled( bool ) ), SLOT( updateChanged( void ) ) ); - connect( shadowConfigurations[1], SIGNAL( changed( void ) ), SLOT( updateChanged( void ) ) ); - connect( shadowConfigurations[1], SIGNAL( toggled( bool ) ), SLOT( updateChanged( void ) ) ); + connect( shadowConfigurations[0], SIGNAL( changed( bool ) ), SLOT( updateChanged( void ) ) ); + connect( shadowConfigurations[1], SIGNAL( changed( bool ) ), SLOT( updateChanged( void ) ) ); // track animations changes connect( ui.animationsEnabled, SIGNAL( clicked( void ) ), SLOT( updateChanged( void ) ) ); @@ -241,8 +239,8 @@ namespace Oxygen else if( ui.exceptions->isChanged() ) modified = true; // shadow configurations - else if( shadowConfigurations[0]->isModified() ) modified = true; - else if( shadowConfigurations[1]->isModified() ) modified = true; + else if( shadowConfigurations[0]->isChanged() ) modified = true; + else if( shadowConfigurations[1]->isChanged() ) modified = true; // animations else if( !_expertMode && ui.animationsEnabled->isChecked() != _configuration->animationsEnabled() ) modified = true; diff --git a/clients/oxygen/config/oxygenconfigwidget.h b/clients/oxygen/config/oxygenconfigwidget.h index c7400cc0a6..875140363b 100644 --- a/clients/oxygen/config/oxygenconfigwidget.h +++ b/clients/oxygen/config/oxygenconfigwidget.h @@ -95,7 +95,7 @@ namespace Oxygen //! toggle expert mode void toggleExpertModeInternal( bool ); - //! check whether configuration is changed and emit appropriate signal if yes + //! update changed state virtual void updateChanged(); //! update layout