diff options
Diffstat (limited to 'gui/main-window.cpp')
-rw-r--r-- | gui/main-window.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/main-window.cpp b/gui/main-window.cpp index 51e22861..6a7be89f 100644 --- a/gui/main-window.cpp +++ b/gui/main-window.cpp @@ -115,17 +115,17 @@ MainWindow::MainWindow() : // dylibs { connect(&m.tracker_dll, - static_cast<void(base_value::*)(const QString&) const>(&base_value::valueChanged), + base_value::signal_fun<QString>(), this, [&](const QString&) { if (pTrackerDialog) pTrackerDialog = nullptr; save_modules(); }); connect(&m.protocol_dll, - static_cast<void(base_value::*)(const QString&) const>(&base_value::valueChanged), + base_value::signal_fun<QString>(), this, [&](const QString&) { if (pProtocolDialog) pProtocolDialog = nullptr; save_modules(); }); connect(&m.filter_dll, - static_cast<void(base_value::*)(const QString&) const>(&base_value::valueChanged), + base_value::signal_fun<QString>(), this, [&](const QString&) { if (pFilterDialog) pFilterDialog = nullptr; save_modules(); }); } |