summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-12-10 14:08:22 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-12-10 14:08:22 +0100
commit2508a1865bf393335b1bf674a8e1e7995a313b53 (patch)
tree83e5d62ea010a32616f984d987d12834ebde2bd3 /gui
parente6412ba2e9dc6c56664dbcf81ef299499434891a (diff)
options: rename template
Diffstat (limited to 'gui')
-rw-r--r--gui/main-window.cpp6
-rw-r--r--gui/mapping-dialog.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/gui/main-window.cpp b/gui/main-window.cpp
index b0f26cbe..637cbef5 100644
--- a/gui/main-window.cpp
+++ b/gui/main-window.cpp
@@ -162,9 +162,9 @@ MainWindow::MainWindow() :
this,
[&](const QString&) { if (pFilterDialog) pFilterDialog = nullptr; });
- connect(&m.tracker_dll, base_value::signal_fun<QString>(), this, &MainWindow::save_modules, Qt::QueuedConnection);
- connect(&m.protocol_dll, base_value::signal_fun<QString>(), this, &MainWindow::save_modules, Qt::QueuedConnection);
- connect(&m.filter_dll, base_value::signal_fun<QString>(), this, &MainWindow::save_modules, Qt::QueuedConnection);
+ connect(&m.tracker_dll, base_value::value_changed<QString>(), this, &MainWindow::save_modules, Qt::QueuedConnection);
+ connect(&m.protocol_dll, base_value::value_changed<QString>(), this, &MainWindow::save_modules, Qt::QueuedConnection);
+ connect(&m.filter_dll, base_value::value_changed<QString>(), this, &MainWindow::save_modules, Qt::QueuedConnection);
tie_setting(m.tracker_dll, ui.iconcomboTrackerSource);
tie_setting(m.protocol_dll, ui.iconcomboProtocol);
diff --git a/gui/mapping-dialog.cpp b/gui/mapping-dialog.cpp
index 607563a7..8d754b6b 100644
--- a/gui/mapping-dialog.cpp
+++ b/gui/mapping-dialog.cpp
@@ -116,7 +116,7 @@ void MapWidget::load()
if (altp)
{
connect(&axis.opts.altp,
- base_value::signal_fun<bool>(),
+ base_value::value_changed<bool>(),
this,
[&](bool f) -> void {qfc.setEnabled(f); qfc.force_redraw();});
qfc.setEnabled(axis.opts.altp);