diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-16 00:54:30 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-16 06:45:46 +0100 |
commit | b381a0831fda0055ac1e972c26c7ee62639e224c (patch) | |
tree | 7f1ee9a36b14bca149cdc965a0fa3add510fee83 /gui | |
parent | c4c8cd6a55f4ce378f4a5d371cc95b42dc09704b (diff) |
gui/main-window: reformat max right column
Diffstat (limited to 'gui')
-rw-r--r-- | gui/main-window.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
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); } } |