Fix compilation error of qcursor_qpa.cpp with QT_NO_CURSOR.
ChangeId Ia69f37343f95772e934eab1cd806bd54cbdbbe51 added two new methods to QCursor but didn't update the fake cursor. Qt5's build still fails with QT_NO_CURSOR somewhere in QT_METATYPE_INTERFACE_INIT(Type), but that's another story. Change-Id: Ib0c706faf78e547d93a1128085e440fe5d1a5e9b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>bb10
parent
a85cffd521
commit
56414e2498
|
|
@ -62,7 +62,9 @@ class Q_GUI_EXPORT QCursor
|
|||
{
|
||||
public:
|
||||
static QPoint pos();
|
||||
static QPoint pos(const QScreen *screen);
|
||||
static void setPos(int x, int y);
|
||||
static void setPos(QScreen *screen, int x, int y);
|
||||
inline static void setPos(const QPoint &p) { setPos(p.x(), p.y()); }
|
||||
private:
|
||||
QCursor();
|
||||
|
|
|
|||
Loading…
Reference in New Issue