summaryrefslogtreecommitdiffhomepage
path: root/options
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-01 22:46:10 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-01 22:46:10 +0100
commit6274ec1b5f63087bb3ca41390ed0149ea3d6ae8c (patch)
tree3301ca84230ae2466603ac91cc8c18008e588969 /options
parent1eb2ed6e95332bc6568d796226986e78a02d4785 (diff)
options/value: log more with OTR_TRACE_NOTIFY
Diffstat (limited to 'options')
-rw-r--r--options/base-value.cpp2
-rw-r--r--options/value.hpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/options/base-value.cpp b/options/base-value.cpp
index 9ccbbdf8..950629d0 100644
--- a/options/base-value.cpp
+++ b/options/base-value.cpp
@@ -29,5 +29,5 @@ value_::~value_()
void value_::maybe_trace(const char* str) const
{
if (TRACE_NOTIFY)
- qDebug().noquote() << str << QThread::currentThreadId() << b->name() << self_name;
+ qDebug().noquote() << str << QThread::currentThreadId() << b->name() << self_name << get_variant();
}
diff --git a/options/value.hpp b/options/value.hpp
index dacd0ea9..9a7487b8 100644
--- a/options/value.hpp
+++ b/options/value.hpp
@@ -137,6 +137,7 @@ public:
return *this;
store_variant(traits::qvariant_from_value(traits::pass_value(datum)));
+ maybe_trace("set-value");
return *this;
}