summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qguiapplication_p.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-08-25 14:19:58 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2011-08-25 14:31:45 +0200
commit3ed314ca46286c0e4f54b124d145704277592ddd (patch)
tree56dd7479b2f2ace9f481afdbd5c341032d8096fb /src/gui/kernel/qguiapplication_p.h
parent9e04c60ac070348f8208fb0254e62d6e593320c3 (diff)
Fix compilation/use correct data type for qt_lastx,y.
Change-Id: I6fdc8dcfb19d7498a1eb8013f75113537ce7a213 Reviewed-on: http://codereview.qt.nokia.com/3594 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/gui/kernel/qguiapplication_p.h')
-rw-r--r--src/gui/kernel/qguiapplication_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qguiapplication_p.h b/src/gui/kernel/qguiapplication_p.h
index f7fa51208d..1591ed8990 100644
--- a/src/gui/kernel/qguiapplication_p.h
+++ b/src/gui/kernel/qguiapplication_p.h
@@ -44,6 +44,7 @@
#include <QtGui/qguiapplication.h>
+#include <QtCore/QPointF>
#include <QtCore/private/qcoreapplication_p.h>
#include <QtCore/private/qthread_p.h>
@@ -156,6 +157,7 @@ public:
static int mousePressX;
static int mousePressY;
static int mouse_double_click_distance;
+ static QPointF lastCursorPosition;
#ifndef QT_NO_CLIPBOARD
static QClipboard *qt_clipboard;