diff options
author | Morten Johan Sørvig <morten.sorvig@nokia.com> | 2010-04-29 06:49:03 (GMT) |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@nokia.com> | 2010-04-29 06:49:03 (GMT) |
commit | 4a7c8a2c12d5a1df34d1ae921e0ee709e2e0a904 (patch) | |
tree | 503ca4d0e7317be0accc982df88979e8fa5da5f7 | |
parent | dbc2f9202688c56495b3f6d8cd3b977a9ae69a80 (diff) | |
download | Qt-4a7c8a2c12d5a1df34d1ae921e0ee709e2e0a904.zip Qt-4a7c8a2c12d5a1df34d1ae921e0ee709e2e0a904.tar.gz Qt-4a7c8a2c12d5a1df34d1ae921e0ee709e2e0a904.tar.bz2 |
Compile with QT_NO_CURSOR.
-rw-r--r-- | src/gui/kernel/qwidget_lite.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget_lite.cpp b/src/gui/kernel/qwidget_lite.cpp index ee1a582..64fb6f7 100644 --- a/src/gui/kernel/qwidget_lite.cpp +++ b/src/gui/kernel/qwidget_lite.cpp @@ -686,6 +686,7 @@ void QWidgetPrivate::setModal_sys() { } +#ifndef QT_NO_CURSOR void qt_lite_set_cursor(QWidget * w, bool force) { static QPointer<QWidget> lastUnderMouse = 0; @@ -732,4 +733,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 |