diff options
author | Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> | 2012-06-19 17:09:06 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-22 15:42:44 +0200 |
commit | 7042de0894b8d75b75b7a010b22b5fab5835754f (patch) | |
tree | 33eddf8bc27c07c26420158917806e05d71cd6c2 /mkspecs/devices/linux-rasp-pi-g++ | |
parent | 1655cb5a690895631238b5b7a9a1f0c8ad32fbc4 (diff) |
eglfs: move m_pos into Cursor
Change-Id: I51e92d265e7ea6372ae58b357f75362e2d9a2df9
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'mkspecs/devices/linux-rasp-pi-g++')
-rw-r--r-- | mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp b/mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp index 158e69418e..8b6349cf8c 100644 --- a/mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp +++ b/mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp @@ -206,14 +206,14 @@ public: } void setPos(const QPoint &pos) Q_DECL_OVERRIDE { - m_pos = pos; + m_cursor.pos = pos; moveDispmanxLayer(m_window, cursorRect().topLeft()); } void pointerEvent(const QMouseEvent &event) Q_DECL_OVERRIDE { if (event.type() != QEvent::MouseMove) return; - m_pos = event.pos(); + m_cursor.pos = event.pos(); moveDispmanxLayer(m_window, cursorRect().topLeft()); } |