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; }