summaryrefslogtreecommitdiffhomepage
path: root/opentrack/options.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-12-14 23:27:09 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-12-14 23:27:09 +0100
commit084f99b16fecc2c660ac3a00ebd13b87ef83c44d (patch)
tree36ab6624637df580a8b32d82f993e25759add340 /opentrack/options.hpp
parentca2c242e6fe37376394d0a0e2b574e94c40c4b57 (diff)
emit "saving()" after bundle's been updated
Diffstat (limited to 'opentrack/options.hpp')
-rw-r--r--opentrack/options.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/opentrack/options.hpp b/opentrack/options.hpp
index aba1b9df..1938ba08 100644
--- a/opentrack/options.hpp
+++ b/opentrack/options.hpp
@@ -152,6 +152,7 @@ namespace options {
impl_bundle& operator=(const impl_bundle&) = delete;
signals:
void reloading();
+ void saving();
public:
impl_bundle(const string& group_name) :
mtx(QMutex::Recursive),
@@ -200,6 +201,7 @@ namespace options {
modified = false;
saved = transient;
transient.save();
+ emit saving();
}
bool modifiedp() {