Implement default handler in Dashboard config

Sorry for doing a second commit - 4.6 and master had diverged.
CCBUG: 253599
This commit is contained in:
Martin Gräßlin 2011-03-17 19:14:13 +01:00
parent 0dd26b37bc
commit 0a7ed2ff79

View file

@ -81,6 +81,10 @@ void DashboardEffectConfig::save()
void DashboardEffectConfig::defaults()
{
ui.brightness->setValue(50);
ui.saturation->setValue(50);
ui.duration->setValue(500);
ui.blur->setChecked(false);
emit changed(true);
}