summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/kernel/qwidget_lite.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget_lite.cpp b/src/gui/kernel/qwidget_lite.cpp
index 5a629c0c34..91e7e1704c 100644
--- a/src/gui/kernel/qwidget_lite.cpp
+++ b/src/gui/kernel/qwidget_lite.cpp
@@ -666,6 +666,7 @@ void QWidgetPrivate::setModal_sys()
{
}
+#ifndef QT_NO_CURSOR
void qt_lite_set_cursor(QWidget * w, bool force)
{
static QPointer<QWidget> lastUnderMouse = 0;
@@ -712,4 +713,6 @@ void qt_lite_set_cursor(QWidget * w, bool force)
QCursor c = w->cursor();
cursor->changeCursor(&c, w);
}
+#endif //QT_NO_CURSOR
+
QT_END_NAMESPACE