From kde-commits Sun Sep 26 14:33:54 2004 From: Ariya Hidayat Date: Sun, 26 Sep 2004 14:33:54 +0000 To: kde-commits Subject: koffice/kspread/tests Message-Id: <20040926143354.E4E70126DD () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=109620926203115 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 #include #include @@ -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() )