From 9cca4ffd9987352e43119d9c4dea0ce84c2c448f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 5 Oct 2018 15:59:58 +0200 Subject: silly busywork --- variant/default/main-window.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'variant/default') diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp index 76a6d404..d6df6b8f 100644 --- a/variant/default/main-window.cpp +++ b/variant/default/main-window.cpp @@ -167,17 +167,17 @@ main_window::main_window() : State(OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH) connect(ui.iconcomboTrackerSource, &QComboBox::currentTextChanged, this, - [&](const QString&) { if (pTrackerDialog) pTrackerDialog = nullptr; }); + [&](const QString&) { pTrackerDialog = nullptr; }); connect(ui.iconcomboTrackerSource, &QComboBox::currentTextChanged, this, - [&](const QString&) { if (pProtocolDialog) pProtocolDialog = nullptr; }); + [&](const QString&) { pProtocolDialog = nullptr; }); connect(ui.iconcomboTrackerSource, &QComboBox::currentTextChanged, this, - [&](const QString&) { if (pFilterDialog) pFilterDialog = nullptr; }); + [&](const QString&) { pFilterDialog = nullptr; }); connect(&m.tracker_dll, value_::value_changed(), this, &main_window::save_modules, -- cgit v1.2.3