mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fixes #325 Option tab stays open when closing the main window
This commit is contained in:
parent
21f3f6e5b0
commit
e5b78e85e5
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue