summaryrefslogtreecommitdiffhomepage
path: root/options/base-value.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'options/base-value.hpp')
-rw-r--r--options/base-value.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/options/base-value.hpp b/options/base-value.hpp
index 722107a4..9b2ebe53 100644
--- a/options/base-value.hpp
+++ b/options/base-value.hpp
@@ -40,6 +40,8 @@ public:
return static_cast<signal_sig<t>>(&value_::valueChanged);
}
+ static const bool TRACE_NOTIFY;
+
signals:
OTR_OPTIONS_SIGNAL(double);
OTR_OPTIONS_SIGNAL(float);
@@ -65,6 +67,8 @@ protected:
virtual void store_variant(QVariant&&) noexcept = 0;
virtual void store_variant(const QVariant&) noexcept = 0;
+ void maybe_trace(bool x) const;
+
template<typename t>
void store_(const t& datum)
{