Fixes #325 Option tab stays open when closing the main window

This commit is contained in:
fourtf 2018-04-10 02:02:49 +02:00
parent efdcc64f89
commit 33b94d757f

View file

@ -11,6 +11,7 @@
#include "widgets/settingsdialog.hpp"
#include "widgets/split.hpp"
#include <QApplication>
#include <QPalette>
#include <QShortcut>
#include <QVBoxLayout>
@ -163,6 +164,8 @@ void Window::closeEvent(QCloseEvent *event)
}
this->closed.invoke();
QApplication::exit();
}
} // namespace widgets