[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/network/kcall/kcall_approver
From:       George Kiagiadakis <gkiagiad () csd ! uoc ! gr>
Date:       2009-08-04 10:51:42
Message-ID: 1249383102.517168.2209.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1006772 by gkiagia:

Quit the approver when it has no more pending channel requests to approve.

 M  +4 -0      knotifyapprover.cpp  


--- trunk/playground/network/kcall/kcall_approver/knotifyapprover.cpp #1006771:1006772
@@ -72,6 +72,10 @@
         d->notifications[request]->close();
     }
     d->notifications.remove(request);
+
+    if ( d->notifications.isEmpty() ) {
+        QCoreApplication::quit();
+    }
 }
 
 #include "knotifyapprover.moc"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic