diff options
-rw-r--r-- | variant/default/main-window.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp index 1b681abc..be6c08ec 100644 --- a/variant/default/main-window.cpp +++ b/variant/default/main-window.cpp @@ -663,7 +663,6 @@ void main_window::show_tracker_settings() if (mk_dialog(current_tracker(), pTrackerDialog) && work && work->libs.pTracker) pTrackerDialog->register_tracker(work->libs.pTracker.get()); if (pTrackerDialog) - // must run bundle::reload(), don't remove next line QObject::connect(pTrackerDialog.get(), &ITrackerDialog::closing, this, [this]() { pTrackerDialog = nullptr; }); } @@ -673,7 +672,6 @@ void main_window::show_proto_settings() if (mk_dialog(current_protocol(), pProtocolDialog) && work && work->libs.pProtocol) pProtocolDialog->register_protocol(work->libs.pProtocol.get()); if (pProtocolDialog) - // must run bundle::reload(), don't remove next line QObject::connect(pProtocolDialog.get(), &IProtocolDialog::closing, this, [this]() { pProtocolDialog = nullptr; }); } @@ -683,7 +681,6 @@ void main_window::show_filter_settings() if (mk_dialog(current_filter(), pFilterDialog) && work && work->libs.pFilter) pFilterDialog->register_filter(work->libs.pFilter.get()); if (pFilterDialog) - // must run bundle::reload(), don't remove next line QObject::connect(pFilterDialog.get(), &IFilterDialog::closing, this, [this]() { pFilterDialog = nullptr; }); } |