You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/redhat/applications/koffice/kexi-hide_hourglass-1.1.3-2...

24 lines
734 B

Index: kexi/kexiutils/utils.cpp
===================================================================
--- kexi/kexiutils/utils.cpp (revision 716273)
+++ kexi/kexiutils/utils.cpp (working copy)
@@ -57,7 +57,7 @@
TQApplication::restoreOverrideCursor();
}
void DelayedCursorHandler::show() {
- TQApplication::setOverrideCursor( KCursor::waitCursor() );
+ TQApplication::setOverrideCursor( KCursor::waitCursor(), true/*replace*/ );
}
DelayedCursorHandler _delayedCursorHandler;
@@ -89,7 +89,8 @@
WaitCursorRemover::~WaitCursorRemover()
{
- _delayedCursorHandler.start(true);
+ if (m_reactivateCursor)
+ _delayedCursorHandler.start(true);
}
//--------------------------------------------------------------------------------