summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Martins <sergio.martins.qnx@kdab.com>2012-09-04 11:33:36 +0100
committerQt by Nokia <qt-info@nokia.com>2012-09-07 12:55:47 +0200
commit56414e2498ae19d305b391678afe3a67a9069832 (patch)
tree5f9f6fab51995ed6d3e06614a33d6560caf06b1f
parenta85cffd5213b4c0275acc2f1072fe6dc7f895d67 (diff)
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>
-rw-r--r--src/gui/kernel/qcursor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qcursor.h b/src/gui/kernel/qcursor.h
index 550d6f8891..499225755c 100644
--- a/src/gui/kernel/qcursor.h
+++ b/src/gui/kernel/qcursor.h
@@ -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();