From 61d9dae5ac4faec3bcf0a7f420f57d96622dac0e Mon Sep 17 00:00:00 2001 From: Matti Viljanen Date: Sun, 14 Jun 2020 18:23:11 +0300 Subject: [PATCH] Reset notification ID after closing --- service/src/notification.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/service/src/notification.cpp b/service/src/notification.cpp index f24c734..0b645db 100644 --- a/service/src/notification.cpp +++ b/service/src/notification.cpp @@ -72,6 +72,7 @@ void Notification::close() args << "-o" << "remove" << "-i" << noteID; QProcess proc; proc.start("notificationtool", args); + noteID = 1; proc.waitForFinished(); return; }