From 33b94d757f41c9254eeb62b7b636bb9d13b0c8d0 Mon Sep 17 00:00:00 2001 From: fourtf Date: Tue, 10 Apr 2018 02:02:49 +0200 Subject: [PATCH] Fixes #325 Option tab stays open when closing the main window --- src/widgets/window.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/widgets/window.cpp b/src/widgets/window.cpp index b0163014e..837555840 100644 --- a/src/widgets/window.cpp +++ b/src/widgets/window.cpp @@ -11,6 +11,7 @@ #include "widgets/settingsdialog.hpp" #include "widgets/split.hpp" +#include #include #include #include @@ -163,6 +164,8 @@ void Window::closeEvent(QCloseEvent *event) } this->closed.invoke(); + + QApplication::exit(); } } // namespace widgets