From 427d58b7672b92df5b720ff8372365f558fce3f6 Mon Sep 17 00:00:00 2001 From: zan Date: Tue, 22 Sep 2020 12:00:13 -0400 Subject: [PATCH] Appease clang-format --- src/ui/mainwindow.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index cfa5ad08a4..d42b3add8f 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -1459,8 +1459,10 @@ void MainWindow::StopAfterCurrent() { } void MainWindow::closeEvent(QCloseEvent* event) { - if (!tray_icon_ || !settings_.value("keeprunning", tray_icon_->IsVisible()).toBool()) - Exit(); + if (!tray_icon_ || + !settings_.value("keeprunning", tray_icon_->IsVisible()).toBool()) + Exit(); + QMainWindow::closeEvent(event); }