Clean changed state on load();
properly initialize changed state in constructor.
This commit is contained in:
parent
30df048632
commit
ee290bc014
2 changed files with 6 additions and 1 deletions
|
@ -96,6 +96,9 @@ namespace Oxygen
|
|||
|
||||
_tabAnimations->setEnabled( _configuration->tabAnimationsEnabled() );
|
||||
_tabAnimations->setDuration( _configuration->tabAnimationsDuration() );
|
||||
|
||||
setChanged( false );
|
||||
|
||||
}
|
||||
|
||||
//_______________________________________________
|
||||
|
|
|
@ -41,7 +41,8 @@ namespace Oxygen
|
|||
ConfigWidget::ConfigWidget( QWidget* parent ):
|
||||
QWidget( parent ),
|
||||
_expertMode( false ),
|
||||
_animationConfigWidget(0)
|
||||
_animationConfigWidget(0),
|
||||
_changed( false )
|
||||
{
|
||||
|
||||
ui.setupUi( this );
|
||||
|
@ -111,6 +112,7 @@ namespace Oxygen
|
|||
ui.animationsEnabled->setChecked( _configuration->animationsEnabled() );
|
||||
ui.narrowButtonSpacing->setChecked( _configuration->useNarrowButtonSpacing() );
|
||||
ui.closeFromMenuButton->setChecked( _configuration->closeWindowFromMenuButton() );
|
||||
setChanged( false );
|
||||
|
||||
_animationConfigWidget->load();
|
||||
|
||||
|
|
Loading…
Reference in a new issue