diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-06 18:43:08 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-10 10:31:58 +0200 |
commit | 0f82330b2252301c5ddbb49350111b336ff8de4b (patch) | |
tree | 6351031340ef68cc87231c52bf158fc8f7f0363b | |
parent | 61884594ceff59279abe5530c8c1af1870dc8fbb (diff) |
options/tie: fix QComboBox connect() thread safetyopentrack-2022.3.1
-rw-r--r-- | options/tie.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/options/tie.hpp b/options/tie.hpp index 46ade075..194a3a5d 100644 --- a/options/tie.hpp +++ b/options/tie.hpp @@ -57,7 +57,7 @@ void tie_setting(value<t>& v, QComboBox* cb, From&& fn_to_index, To&& fn_to_valu v.DIRECT_CONNTYPE); value_::connect(&v, value_::value_changed<t>(), cb, [cb, fn_to_index](detail::cv_qualified<t>& v) { cb->setCurrentIndex(fn_to_index(v)); }, - v.DIRECT_CONNTYPE); + v.SAFE_CONNTYPE); } template<typename t, typename F> |