]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/contrib/shape/FSubscriber.ui.h
patch for compilation under qt4
[orte.git] / orte / contrib / shape / FSubscriber.ui.h
index 5adf6812ab4efd11fbfb1cba67018e6480751fd5..ce5c3858d3e4679a6a40e68e905f242df7497bd5 100644 (file)
@@ -9,6 +9,9 @@
 #include <stdio.h>
 #include <qtimer.h> 
 #include <qapplication.h>
+#if (QT_VERSION-0 >= 0x040000)
+#include <QCloseEvent>
+#endif
 
 extern QApplication *a;
 
@@ -32,7 +35,6 @@ void FSubscriber::destroy()
     if (domain) {
       ORTEDomainAppDestroy(domain);
       domain=NULL;
-      pthread_mutex_destroy(&mutex);
     }
 }
 
@@ -42,7 +44,6 @@ recvCallBack(const ORTERecvInfo *info,void *vinstance, void *recvCallBackParam)
   FSubscriber *s=(FSubscriber*)recvCallBackParam;
   QRect   rect;
 
-
   a->lock();
   switch (info->status) {
     case NEW_DATA: