From: mzn Date: Fri, 10 Mar 2006 09:05:27 +0000 (+0000) Subject: Restore the cursor if necessary(apart from, it concerns the bug IPAL11302). X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=193ea0c7780943286074e938e7ea00fabdc06910;p=modules%2Fgui.git Restore the cursor if necessary(apart from, it concerns the bug IPAL11302). --- diff --git a/src/SUIT/SUIT_ExceptionHandler.cxx b/src/SUIT/SUIT_ExceptionHandler.cxx index 391093418..851291d4e 100755 --- a/src/SUIT/SUIT_ExceptionHandler.cxx +++ b/src/SUIT/SUIT_ExceptionHandler.cxx @@ -49,6 +49,9 @@ void SUIT_ExceptionHandler::showMessage( const QString& title, const QString& ms { if ( !qApp ) return; - + + while ( QApplication::overrideCursor() ) + QApplication::restoreOverrideCursor(); + SUIT_MessageBox::error1( qApp->mainWidget(), title, msg, "OK" ); }