summaryrefslogtreecommitdiffhomepage
path: root/options/scoped.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'options/scoped.cpp')
-rw-r--r--options/scoped.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/options/scoped.cpp b/options/scoped.cpp
new file mode 100644
index 00000000..e1ddbae2
--- /dev/null
+++ b/options/scoped.cpp
@@ -0,0 +1,14 @@
+#include "scoped.hpp"
+
+namespace options {
+
+opts::~opts()
+{
+ b->reload();
+}
+
+opts::opts(const QString &name) : b(make_bundle(name))
+{
+}
+
+}