summaryrefslogtreecommitdiffhomepage
path: root/variant/default/main-window.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-19 16:09:30 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-20 11:53:55 +0100
commit332f726ace64a2500bfe5432c17585e55fa22d4c (patch)
treed8d862ec281d257744cd265878d087c1631004b1 /variant/default/main-window.cpp
parent17b44320607e89d4914736bcb2978271f410deb9 (diff)
gui/main: remove stale comments
Diffstat (limited to 'variant/default/main-window.cpp')
-rw-r--r--variant/default/main-window.cpp3
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; });
}