Deleting notifies after user close it
authorMateusz Półrola <mateusz.polrola@comarch.pl>
Thu, 2 Sep 2010 08:54:07 +0000 (10:54 +0200)
committerMateusz Półrola <mateusz.polrola@comarch.pl>
Thu, 2 Sep 2010 08:54:07 +0000 (10:54 +0200)
trunk/src/base/gui/NotifyManager.cpp

index 6b9c022..4bec722 100644 (file)
@@ -44,6 +44,7 @@ void NotifyManager::notificationClosed() {
     for(it = activeNotifies.begin(); it != activeNotifies.end(); it++) {
         if(it.value() == dialog) {
             activeNotifies.remove(it.key());
+            it.value()->deleteLater();
             return;
         }
     }