From e5b78e85e57ec72f9b66a6303033e5335cd66ef3 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