Use defaults from context UI
This commit is contained in:
parent
e7e77ed86b
commit
d4860a3426
@ -131,7 +131,7 @@ void ContextSettingsPage::Load() {
|
|||||||
ui_->context_custom_text2->setText(s.value(kSettingsSummaryFmt, "%album%").toString());
|
ui_->context_custom_text2->setText(s.value(kSettingsSummaryFmt, "%album%").toString());
|
||||||
|
|
||||||
for (int i = 0 ; i < ContextSettingsOrder::NELEMS ; ++i) {
|
for (int i = 0 ; i < ContextSettingsOrder::NELEMS ; ++i) {
|
||||||
checkboxes_[i]->setChecked(s.value(kSettingsGroupEnable[i], i != ContextSettingsOrder::ALBUMS_BY_ARTIST).toBool());
|
checkboxes_[i]->setChecked(s.value(kSettingsGroupEnable[i], checkboxes_[i]->isChecked()).toBool());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fonts
|
// Fonts
|
||||||
|
@ -171,9 +171,6 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Engine and Device</string>
|
<string>Engine and Device</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="checked">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user