summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@intopalo.com>2015-03-12 14:26:34 +0200
committerAndrew Knight <qt@panimo.net>2015-03-12 14:47:52 +0000
commit5544ae9eb37267e460f9d614b85fd13be8fc24ed (patch)
treeeb4926dfcb2a3b66b9ccdcaf621dc929795adf68
parentaf90eec11c01043c23726b6af623d74a1ee0666c (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.cpp4
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)