mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-28 13:17:43 +00:00
Fix quit from fullscreen on macOS.
This commit is contained in:
parent
87e4bb1059
commit
db23485fa2
@ -215,7 +215,7 @@ void Sandbox::setupScreenScale() {
|
||||
Sandbox::~Sandbox() = default;
|
||||
|
||||
bool Sandbox::event(QEvent *e) {
|
||||
if (e->type() == QEvent::Close) {
|
||||
if (e->type() == QEvent::Close || e->type() == QEvent::Quit) {
|
||||
App::quit();
|
||||
}
|
||||
return QApplication::event(e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user