chore: Adjust about function closeAllNotification
Log: maek closeAllNotification on all platform, move closeAllNotification action to aboutToQuit
This commit is contained in:
parent
919ec2a5e3
commit
0e2cc65548
4 changed files with 4 additions and 13 deletions
|
|
@ -350,6 +350,7 @@ main(int argc, char *argv[])
|
|||
w.show();
|
||||
|
||||
QObject::connect(&app, &QApplication::aboutToQuit, &w, [&w]() {
|
||||
ChatPage::instance()->removeAllNotifications();
|
||||
w.saveCurrentWindowSize();
|
||||
if (http::client() != nullptr) {
|
||||
nhlog::net()->debug("shutting down all I/O threads & open connections");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue