summaryrefslogtreecommitdiffhomepage
path: root/options/connector.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-05-12 15:43:50 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-05-12 15:48:16 +0200
commit4c4c783d023cf1bb6a8d7d883bf8d3384f7b7da1 (patch)
treeeb81974538149ce053d923991eaeebe2a2da3d9e /options/connector.cpp
parent8cb6d9d0a5aa617d0d9922ea26f0c98df27b5f1e (diff)
minor fixes only
Diffstat (limited to 'options/connector.cpp')
-rw-r--r--options/connector.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/options/connector.cpp b/options/connector.cpp
index 63d70ca7..075a57e1 100644
--- a/options/connector.cpp
+++ b/options/connector.cpp
@@ -83,11 +83,12 @@ void connector::on_value_created(const QString& name, value_type val)
QMutexLocker l(get_mtx());
- if (on_value_destructed_impl(name, val))
+ int i = 1;
+ while (on_value_destructed_impl(name, val))
{
qWarning() << "options/connector: value created twice;"
- << "bundle"
- << val->b->name()
+ << "cnt" << i++
+ << "bundle" << val->b->name()
<< "value-name" << name
<< "value-ptr" << quintptr(val);
}