diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-25 18:10:11 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-25 18:10:11 +0200 |
commit | 30a1ba47a4592ba6e7c92a5e32f3a057293d4f2b (patch) | |
tree | 5cc63d3ed297221744bb780c0b57c8727be89f48 | |
parent | 39169acf3bc2bc43cc32a6455d43e9588765c84a (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
-rw-r--r-- | options/value.hpp | 2 |
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) { |