From b381a0831fda0055ac1e972c26c7ee62639e224c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 16 Jan 2018 00:54:30 +0100 Subject: gui/main-window: reformat max right column --- gui/main-window.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'gui/main-window.cpp') diff --git a/gui/main-window.cpp b/gui/main-window.cpp index f4e08211..1a49a0b2 100644 --- a/gui/main-window.cpp +++ b/gui/main-window.cpp @@ -667,7 +667,8 @@ void main_window::show_tracker_settings() 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; }); + QObject::connect(pTrackerDialog.get(), &ITrackerDialog::closing, + this, [this]() { pTrackerDialog = nullptr; }); } void main_window::show_proto_settings() @@ -676,7 +677,8 @@ void main_window::show_proto_settings() 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; }); + QObject::connect(pProtocolDialog.get(), &IProtocolDialog::closing, + this, [this]() { pProtocolDialog = nullptr; }); } void main_window::show_filter_settings() @@ -685,14 +687,16 @@ void main_window::show_filter_settings() 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; }); + QObject::connect(pFilterDialog.get(), &IFilterDialog::closing, + this, [this]() { pFilterDialog = nullptr; }); } void main_window::show_options_dialog() { if (mk_window(options_widget, [&](bool flag) { set_keys_enabled(!flag); })) { - connect(options_widget.get(), &options_dialog::closing, this, &main_window::register_shortcuts); + connect(options_widget.get(), &options_dialog::closing, + this, &main_window::register_shortcuts); } } -- cgit v1.2.3