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

List:       kde-commits
Subject:    koffice/kspread/tests
From:       Ariya Hidayat <ariya () kde ! org>
Date:       2004-09-26 14:33:54
Message-ID: 20040926143354.E4E70126DD () office ! kde ! org
[Download RAW message or body]

CVS commit by ariya: 

show busy cursor when running the test


  M +5 -0      testrunner.cc   1.6


--- koffice/kspread/tests/testrunner.cc  #1.5:1.6
@@ -20,4 +20,5 @@
 #include "testrunner.h"
 
+#include <qapplication.h>
 #include <qdict.h>
 #include <qlabel.h>
@@ -105,5 +106,9 @@ void TestRunner::runTest()
     d->logView->clear();
     d->logView->append( QString("Test: %1").arg( testName ) );
+    
+    QApplication::setOverrideCursor(Qt::waitCursor);
     tester->run();
+    QApplication::restoreOverrideCursor();
+    
     QStringList errorList = tester->errors();
     if( tester->failed() )


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

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