1
0
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:
Nils Fenner 2016-08-04 09:52:49 +02:00
parent f50d914c23
commit 32c158bc61
No known key found for this signature in database
GPG Key ID: 9591A163FF9BE04C

View File

@ -583,8 +583,8 @@ void Widget::closeEvent(QCloseEvent *event)
} }
saveWindowGeometry(); saveWindowGeometry();
saveSplitterGeometry(); saveSplitterGeometry();
qApp->exit(0);
QWidget::closeEvent(event); QWidget::closeEvent(event);
qApp->quit();
} }
} }