[Kst] extragear/graphics/kst/kst
    George Staikos 
    staikos at kde.org
       
    Fri Sep 16 19:15:00 CEST 2005
    
    
  
SVN commit 461163 by staikos:
This lock isn't recursive, so acquire it only once
BUG: 112751
 M  +1 -1      kstdebug.cpp  
--- trunk/extragear/graphics/kst/kst/kstdebug.cpp #461162:461163
@@ -107,11 +107,11 @@
 
 
 void KstDebug::clear() {
+  clearHasNewError(); // has to be before the lock is acquired
   QMutexLocker ml(&_lock);
   _messages.clear(); 
   LogEvent *e = new LogEvent(LogEvent::LogCleared);
   QApplication::postEvent(_handler, e);
-  clearHasNewError();
 }
 
 
    
    
More information about the Kst
mailing list