mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(gui): don't quit application before last event
Quitting the application kills the event loop. So any event past that will not be handled. Probably causes the "BAD!" entries in log.
This commit is contained in:
parent
f50d914c23
commit
32c158bc61
|
@ -583,8 +583,8 @@ void Widget::closeEvent(QCloseEvent *event)
|
|||
}
|
||||
saveWindowGeometry();
|
||||
saveSplitterGeometry();
|
||||
qApp->exit(0);
|
||||
QWidget::closeEvent(event);
|
||||
qApp->quit();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user