From 193ea0c7780943286074e938e7ea00fabdc06910 Mon Sep 17 00:00:00 2001 From: mzn Date: Fri, 10 Mar 2006 09:05:27 +0000 Subject: [PATCH] Restore the cursor if necessary(apart from, it concerns the bug IPAL11302). --- src/SUIT/SUIT_ExceptionHandler.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" ); } -- 2.39.2