|
@@ -356,6 +356,15 @@ void SettingsComponent::removeValue(const QString §ionOrKey)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
+void SettingsComponent::resetToDefault(const QString §ionID)
|
|
|
+{
|
|
|
+ SettingsSection* section = getSection(sectionID);
|
|
|
+
|
|
|
+ if (section)
|
|
|
+ section->resetToDefault();
|
|
|
+}
|
|
|
+
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
void SettingsComponent::resetToDefault()
|
|
|
{
|