summaryrefslogtreecommitdiffhomepage
path: root/options/bundle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'options/bundle.cpp')
-rw-r--r--options/bundle.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/options/bundle.cpp b/options/bundle.cpp
index 1eb69b60..0bfeef3b 100644
--- a/options/bundle.cpp
+++ b/options/bundle.cpp
@@ -49,6 +49,11 @@ void bundle::reload(std::shared_ptr<QSettings> settings)
}
}
+void bundle::set_all_to_default()
+{
+ forall([](const QString&, base_value* val) { set_base_value_to_default(val); });
+}
+
void bundle::store_kv(const QString& name, const QVariant& datum)
{
QMutexLocker l(&mtx);