From f50ac3549d6a7f1199fa012e4b03f581bc8d305b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 22 Jun 2018 12:54:47 +0200 Subject: core, modules: modernize syntax only Use more C++17 features where this helps any. --- options/tie.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options/tie.cpp') 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& v, QComboBox* cb) base_value::connect(&v, base_value::value_changed(), cb, [cb, set_idx](const QVariant& var) { - run_in_thread_sync(cb, [&]() { + run_in_thread_sync(cb, [&] { set_idx(var); }); }, v.DIRECT_CONNTYPE); -- cgit v1.2.3