summaryrefslogtreecommitdiffstats
path: root/redhat/applications/koffice/kexi-hide_hourglass-1.1.3-2.patch
blob: eddfc24ce7af58a22df2b6a14381cb0f482b2784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);
 }
 
 //--------------------------------------------------------------------------------