summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwindow_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qwindow_p.h')
-rw-r--r--src/gui/kernel/qwindow_p.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/kernel/qwindow_p.h b/src/gui/kernel/qwindow_p.h
index 375bd1e729..0afd903ead 100644
--- a/src/gui/kernel/qwindow_p.h
+++ b/src/gui/kernel/qwindow_p.h
@@ -84,6 +84,9 @@ public:
, blockedByModalWindow(false)
, transientParent(0)
, screen(0)
+#ifndef QT_NO_CURSOR
+ , cursor(Qt::ArrowCursor)
+#endif
{
isWindow = true;
}
@@ -128,6 +131,10 @@ public:
QPointer<QWindow> transientParent;
QScreen *screen;
+
+#ifndef QT_NO_CURSOR
+ QCursor cursor;
+#endif
};