[Marble-commits] KDE/kdeedu/marble/src/lib

Dennis Nienhüser earthwings at gentoo.org
Fri Jan 29 21:40:10 CET 2010


SVN commit 1082145 by nienhueser:

qDebug => mDebug. Give the thread some time to shutdown cleanly, fixes destruction of the thread when it is still running.


 M  +1 -1      MarbleSearchListView.cpp  
 M  +1 -0      runners/LatLonRunner.cpp  


--- trunk/KDE/kdeedu/marble/src/lib/MarbleSearchListView.cpp #1082144:1082145
@@ -55,7 +55,7 @@
         scrollTo( resultlist[0] );
     }
     else
-        qDebug( "noitem!" );
+        mDebug() << "noitem!";
 }
 
 
--- trunk/KDE/kdeedu/marble/src/lib/runners/LatLonRunner.cpp #1082144:1082145
@@ -47,6 +47,7 @@
 
 LatLonRunner::~LatLonRunner()
 {
+    wait(50); // give the thread some time to shut down cleanly
 }
 
 void LatLonRunner::run()


More information about the Marble-commits mailing list