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>
bb10
Andrew Knight 2015-03-12 14:26:34 +02:00 committed by Andrew Knight
parent af90eec11c
commit 5544ae9eb3
1 changed files with 2 additions and 2 deletions

View File

@ -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)