summaryrefslogtreecommitdiffhomepage
path: root/options/value.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-20 11:32:51 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-20 11:32:51 +0200
commit89f974ad6e9f8b8c3d33e45d29f491f2209e3624 (patch)
treef8b9b905896df4a012cc32c037a25954e88f55c4 /options/value.hpp
parent2742eebed2dd5db4dbf187504c95eca70aa624f2 (diff)
options/{connector,base_value}: add missing dtor call. rename callees.
Diffstat (limited to 'options/value.hpp')
-rw-r--r--options/value.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/options/value.hpp b/options/value.hpp
index 4d067af1..f0ecf0c7 100644
--- a/options/value.hpp
+++ b/options/value.hpp
@@ -31,7 +31,11 @@ public:
QString name() const { return self_name; }
base_value(bundle b, const QString& name) : b(b), self_name(name)
{
- b->on_bundle_created(name, this);
+ b->on_value_created(name, this);
+ }
+ ~base_value() override
+ {
+ b->on_value_destructed(self_name, this);
}
signals:
OPENTRACK_DEFINE_SIGNAL(double);