From 30a1ba47a4592ba6e7c92a5e32f3a057293d4f2b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 25 Aug 2016 18:10:11 +0200 Subject: options/value: always use Qt::AutoConnection QSlider and value messed up the value in a feedback loop. Incidentally, for our use cases QSlider and value are on the same thread and they'll connect directly. Issue: #427 Reported-by: @DaMichel --- options/value.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options') 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) { -- cgit v1.2.3