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
efdcc64f89
commit
33b94d757f
|
@ -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