summary refs log tree commit diff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2023-02-02 01:07:16 +0100
committerGitHub <noreply@github.com>2023-02-02 01:07:16 +0100
commit539db70fd5b5447941fa87da9d98504a5152106b (patch)
tree267c4905737f512e02ee78dbbeb824f2dc42981a /src/main.cpp
parentMerge pull request #1347 from mauke/url-regex-war-crime (diff)
parentchore: Adjust about function closeAllNotification (diff)
downloadnheko-539db70fd5b5447941fa87da9d98504a5152106b.tar.xz
Merge pull request #1341 from Decodetalkers/ft_clean_notify
clean all notifications if exit on linux
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp

index 779c7800..1ecb014d 100644 --- a/src/main.cpp +++ b/src/main.cpp
@@ -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");