Skip to content

Commit

Permalink
Appease clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
zan committed Sep 22, 2020
1 parent 46335fe commit 427d58b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ui/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 427d58b

Please sign in to comment.