diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-22 12:54:47 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-26 23:01:53 +0200 |
commit | f50ac3549d6a7f1199fa012e4b03f581bc8d305b (patch) | |
tree | 50ff044f1c618119c88544709808f533ed02225e /options/tie.cpp | |
parent | d61eb905ae3fa161d50821d01ee47915713e89c2 (diff) |
core, modules: modernize syntax only
Use more C++17 features where this helps any.
Diffstat (limited to 'options/tie.cpp')
-rw-r--r-- | options/tie.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/options/tie.cpp b/options/tie.cpp index baa8bb82..0042a0fb 100644 --- a/options/tie.cpp +++ b/options/tie.cpp @@ -59,7 +59,7 @@ OTR_OPTIONS_EXPORT void tie_setting(value<QVariant>& v, QComboBox* cb) base_value::connect(&v, base_value::value_changed<QVariant>(), cb, [cb, set_idx](const QVariant& var) { - run_in_thread_sync(cb, [&]() { + run_in_thread_sync(cb, [&] { set_idx(var); }); }, v.DIRECT_CONNTYPE); |