summaryrefslogtreecommitdiffhomepage
path: root/options/value.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-25 18:10:11 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-25 18:10:11 +0200
commit30a1ba47a4592ba6e7c92a5e32f3a057293d4f2b (patch)
tree5cc63d3ed297221744bb780c0b57c8727be89f48 /options/value.hpp
parent39169acf3bc2bc43cc32a6455d43e9588765c84a (diff)
options/value: always use Qt::AutoConnection
QSlider and value<t> messed up the value in a feedback loop. Incidentally, for our use cases QSlider and value<t> are on the same thread and they'll connect directly. Issue: #427 Reported-by: @DaMichel
Diffstat (limited to 'options/value.hpp')
-rw-r--r--options/value.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/value.hpp b/options/value.hpp
index 6942ed88..c5ccd0dc 100644
--- a/options/value.hpp
+++ b/options/value.hpp
@@ -155,7 +155,7 @@ public:
}
static constexpr const Qt::ConnectionType DIRECT_CONNTYPE = Qt::AutoConnection;
- static constexpr const Qt::ConnectionType SAFE_CONNTYPE = Qt::QueuedConnection;
+ static constexpr const Qt::ConnectionType SAFE_CONNTYPE = Qt::AutoConnection;
value(bundle b, const QString& name, t def) : base_value(b, name, &is_equal, std::type_index(typeid(element_type))), def(def)
{