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:
parent
0dd26b37bc
commit
0a7ed2ff79
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue