diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-21 08:22:36 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-21 08:22:36 +0100 |
commit | ca847749c03b88d8e482396a9c4311ef02b054b9 (patch) | |
tree | c8237b2d8385f922acdb5563e417737feba3adfb /options/value.cpp | |
parent | fd0305aeecfad05f855b7d0e09a1eb9a70f4b2e5 (diff) |
options/{bundle,connector,value}: allow setting to default values
This is complicated by Qt's rejection of template classes.
Also move some stuff to slots where makes sense.
Diffstat (limited to 'options/value.cpp')
-rw-r--r-- | options/value.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/options/value.cpp b/options/value.cpp index f5e92600..36e05dac 100644 --- a/options/value.cpp +++ b/options/value.cpp @@ -24,4 +24,12 @@ base_value::~base_value() b->on_value_destructed(self_name, this); } +namespace detail +{ + void set_base_value_to_default(base_value* val) + { + val->set_to_default(); + } +} + } |