diff options
Diffstat (limited to 'kexi/kexiutils/utils.cpp')
-rw-r--r-- | kexi/kexiutils/utils.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kexi/kexiutils/utils.cpp b/kexi/kexiutils/utils.cpp index dca4998b..125e4783 100644 --- a/kexi/kexiutils/utils.cpp +++ b/kexi/kexiutils/utils.cpp @@ -57,7 +57,7 @@ void DelayedCursorHandler::stop() { TQApplication::restoreOverrideCursor(); } void DelayedCursorHandler::show() { - TQApplication::setOverrideCursor( KCursor::waitCursor() ); + TQApplication::setOverrideCursor( KCursor::waitCursor(), true/*replace*/ ); } DelayedCursorHandler _delayedCursorHandler; @@ -89,7 +89,8 @@ WaitCursorRemover::WaitCursorRemover() WaitCursorRemover::~WaitCursorRemover() { - _delayedCursorHandler.start(true); + if (m_reactivateCursor) + _delayedCursorHandler.start(true); } //-------------------------------------------------------------------------------- |