diff options
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r-- | src/MainWindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 0c8273f7..bc830f23 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -261,7 +261,8 @@ void MainWindow::closeEvent(QCloseEvent *event) { if (WebRTCSession::instance().state() != webrtc::State::DISCONNECTED) { - if (QMessageBox::question(this, QStringLiteral("nheko"), QStringLiteral("A call is in progress. Quit?")) != + if (QMessageBox::question( + this, QStringLiteral("nheko"), QStringLiteral("A call is in progress. Quit?")) != QMessageBox::Yes) { event->ignore(); return; |