summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-14 22:21:16 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-14 22:21:16 +0200
commit26e9257cc97e7496912254c945943bdc69d14007 (patch)
treeef4fa5adf80bcf67b300ecff96c6bda3f85bfa29
parente79d33c5eeecf12d6777fe2d5619f1e5d6c782c2 (diff)
fix calibration dialog in aruco/pt
-rw-r--r--facetracknoir/options.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/facetracknoir/options.h b/facetracknoir/options.h
index b55d2bf0..ffabd756 100644
--- a/facetracknoir/options.h
+++ b/facetracknoir/options.h
@@ -269,7 +269,7 @@ namespace options {
{
reentrancy_count++;
if (b->store_kv(self_name, datum))
- if (reentrancy_count == 0)
+ if (reentrancy_count <= 3)
emit valueChanged(datum);
reentrancy_count--;
}
@@ -302,7 +302,7 @@ namespace options {
return datum;
}
static constexpr const Qt::ConnectionType DIRECT_CONNTYPE = Qt::DirectConnection;
- static constexpr const Qt::ConnectionType SAFE_CONNTYPE = Qt::BlockingQueuedConnection;
+ static constexpr const Qt::ConnectionType SAFE_CONNTYPE = Qt::UniqueConnection;
value(pbundle b, const string& name, t def) : base_value(b, name)
{
if (!b->contains(name) || b->get<QVariant>(name).type() == QVariant::Invalid)