Reset notification ID after closing

This commit is contained in:
Matti Viljanen 2020-06-14 18:23:11 +03:00
parent 71b644e32d
commit 61d9dae5ac
No known key found for this signature in database
GPG key ID: CF32A1495158F888

View file

@ -72,6 +72,7 @@ void Notification::close()
args << "-o" << "remove" << "-i" << noteID; args << "-o" << "remove" << "-i" << noteID;
QProcess proc; QProcess proc;
proc.start("notificationtool", args); proc.start("notificationtool", args);
noteID = 1;
proc.waitForFinished(); proc.waitForFinished();
return; return;
} }