blob: a9ef77b9fa4ffc0cafd91244fb69546593b11807 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
Subject: Hack: hide cursor during startup
From: Michael Olbrich <m.olbrich@pengutronix.de>
This will hide the cursor during application startup.
To keep it hidden the application must call
QApplication::setOverrideCursor(Qt::BlankCursor);
Otherwise the cursor returns when the mouse is moved.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
src/gui/embedded/qwscursor_qws.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/src/gui/embedded/qwscursor_qws.cpp
===================================================================
--- a/src/gui/embedded/qwscursor_qws.cpp
+++ b/src/gui/embedded/qwscursor_qws.cpp
@@ -344,7 +344,7 @@ void QWSServerPrivate::initializeCursor(
// default cursor
cursor = 0;
- setCursor(QWSCursor::systemCursor(Qt::ArrowCursor));
+ setCursor(QWSCursor::systemCursor(Qt::BlankCursor));
#endif
q->sendMouseEvent(QPoint(swidth/2, sheight/2), 0);
}
|