diff options
author | Andrew Knight <andrew.knight@intopalo.com> | 2015-03-12 14:26:34 +0200 |
---|---|---|
committer | Andrew Knight <qt@panimo.net> | 2015-03-12 14:47:52 +0000 |
commit | 5544ae9eb37267e460f9d614b85fd13be8fc24ed (patch) | |
tree | eb4926dfcb2a3b66b9ccdcaf621dc929795adf68 | |
parent | af90eec11c01043c23726b6af623d74a1ee0666c (diff) |
Fix build with QT_NO_CURSOR
The the static cursor methods still need to be compiled.
Change-Id: Ic92eb706af67d3c2645e45cd91cb099c3263a869
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
-rw-r--r-- | src/gui/kernel/qcursor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qcursor.cpp b/src/gui/kernel/qcursor.cpp index 954efa38ed..7e073370f2 100644 --- a/src/gui/kernel/qcursor.cpp +++ b/src/gui/kernel/qcursor.cpp @@ -33,8 +33,6 @@ #include "qcursor.h" -#ifndef QT_NO_CURSOR - #include <qcoreapplication.h> #include <qbitmap.h> #include <qimage.h> @@ -259,6 +257,8 @@ void QCursor::setPos(int x, int y) QCursor::setPos(QGuiApplication::primaryScreen(), x, y); } +#ifndef QT_NO_CURSOR + /*! \fn void QCursor::setPos (const QPoint &p) |