summaryrefslogtreecommitdiffhomepage
path: root/options/base-value.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-10-19 10:00:42 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-10-19 14:02:54 +0200
commit7e693ad7a6b2ee7c3f5c62a4f9819718b3b8b9f1 (patch)
treec0ab9353561d4dbf95637f9934a93a62eb3a23e4 /options/base-value.cpp
parent515a3f8e3a3e6091cc58798c36fe51859178143b (diff)
options: don't notify on idempotent values
Diffstat (limited to 'options/base-value.cpp')
-rw-r--r--options/base-value.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/options/base-value.cpp b/options/base-value.cpp
index c7691a8f..9ccbbdf8 100644
--- a/options/base-value.cpp
+++ b/options/base-value.cpp
@@ -26,9 +26,8 @@ value_::~value_()
b->on_value_destructed(this);
}
-void value_::maybe_trace(bool x) const
+void value_::maybe_trace(const char* str) const
{
if (TRACE_NOTIFY)
- qDebug().noquote() << "notify" << (x ? '+' : '-')
- << QThread::currentThreadId() << b->name() << self_name;
+ qDebug().noquote() << str << QThread::currentThreadId() << b->name() << self_name;
}