From 9f12ecd91de506f9f8739c5494c78c0f070e4c66 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Mon, 18 Jul 2011 10:06:13 +0200 Subject: [PATCH] fix updateChanged() method. --- 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 858bb4d7f2..dbf391e341 100644 --- a/clients/oxygen/config/oxygenconfig.cpp +++ b/clients/oxygen/config/oxygenconfig.cpp @@ -119,7 +119,6 @@ namespace Oxygen else if( ui->ui.separatorMode->currentIndex() != configuration.separatorMode() ) modified = true; else if( ui->ui.titleOutline->isChecked() != configuration.drawTitleOutline() ) modified = true; - else if( ui->ui.animationsEnabled->isChecked() != configuration.animationsEnabled() ) modified = true; else if( ui->ui.narrowButtonSpacing->isChecked() != configuration.useNarrowButtonSpacing() ) modified = true; // shadow configurations @@ -132,7 +131,8 @@ namespace Oxygen else if( exceptionListChanged() ) modified = true; // animations - else if( ui->animationConfigWidget()->isChanged() ) modified = true; + else if( !ui->expertMode() && ui->ui.animationsEnabled->isChecked() != configuration.animationsEnabled() ) modified = true; + else if( ui->expertMode() && ui->animationConfigWidget()->isChanged() ) modified = true; // emit relevant signals if( modified ) emit changed();