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

List:       kde-commits
Subject:    kdelibs/dcop
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2005-03-26 12:31:13
Message-ID: 20050326123113.36A5C627 () office ! kde ! org
[Download RAW message or body]

CVS commit by staniek: 

win32 ports sometimes do not create notifiers


  M +8 -0      dcopclient.cpp   1.190


--- kdelibs/dcop/dcopclient.cpp  #1.189:1.190
@@ -697,4 +697,8 @@ void DCOPClient::bindToApp()
 void DCOPClient::suspend()
 {
+#ifdef Q_WS_WIN //TODO: remove (win32 ports sometimes do not create notifiers)
+    if (!d->notifier)
+        return;
+#endif
     assert(d->notifier); // Suspending makes no sense if we didn't had a qApp yet
     d->notifier->setEnabled(false);
@@ -703,4 +707,8 @@ void DCOPClient::suspend()
 void DCOPClient::resume()
 {
+#ifdef Q_WS_WIN //TODO: remove
+    if (!d->notifier)
+        return;
+#endif
     assert(d->notifier); // Should never happen
     d->notifier->setEnabled(true);


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

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