[Kst] [Bug 88084] using QWaitCondition in update thread is bad

George Staikos staikos at kde.org
Mon Sep 13 20:56:31 CEST 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
        
http://bugs.kde.org/show_bug.cgi?id=88084        
staikos kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From staikos kde org  2004-09-13 20:56 -------
CVS commit by staikos: 

Let's see how unportable this is.  Keep our own fork of QWaitCondition around.
CCMAIL: 88084-done bugs kde org


  A            kstwaitcondition.h   1.1 [QPL QPL (part of Qt)]
  A            kstwaitcondition_unix.cpp   1.1 [QPL QPL (part of Qt)]
  M +1 -0      Makefile.am   1.143
  M +3 -2      updatethread.h   1.5


--- kdeextragear-2/kst/kst/Makefile.am  #1.142:1.143
 @ -44,4 +44,5  @
         kstiface.skel \
         kstiface_impl.cpp \
+        kstwaitcondition_unix.cpp \
         kstdatadialog.ui \
         draggablelistbox.cpp \

--- kdeextragear-2/kst/kst/updatethread.h  #1.4:1.5
 @ -21,5 +21,6  @
 #include <qmutex.h>
 #include <qthread.h>
-#include <qwaitcondition.h>
+
+#include "kstwaitcondition.h"
 
 class KstDoc;
 @ -42,5 +43,5  @ class UpdateThread : public QThread {
   private:
     bool _paused, _done;
-    QWaitCondition _waitCondition;
+    KstWaitCondition _waitCondition;
     QMutex _statusMutex;
     KstDoc *_doc;



More information about the Kst mailing list