summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget_qpa.cpp
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2011-04-29 16:02:36 +0200
committerPaul Olav Tvete <paul.tvete@nokia.com>2011-04-29 17:07:06 +0200
commita90d1b432c32becb9066e1542e44c0d7e0147fcc (patch)
tree235991b04e0fa3e593656fa4065adcba91f535b3 /src/gui/kernel/qwidget_qpa.cpp
parent6e2bbb58fd779d3e969c0adb1cc98f64c8c7b2ee (diff)
Make the wayland plugin compile
Diffstat (limited to 'src/gui/kernel/qwidget_qpa.cpp')
-rw-r--r--src/gui/kernel/qwidget_qpa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget_qpa.cpp b/src/gui/kernel/qwidget_qpa.cpp
index aef49dd2129..5fea32eb9b5 100644
--- a/src/gui/kernel/qwidget_qpa.cpp
+++ b/src/gui/kernel/qwidget_qpa.cpp
@@ -818,7 +818,7 @@ void qt_qpa_set_cursor(QWidget * w, bool force)
} while (0);
foreach (QWeakPointer<QPlatformCursor> cursor, QPlatformCursorPrivate::getInstances())
if (cursor)
- cursor.data()->changeCursor(&cursorCursor, cursorWidget);
+ cursor.data()->changeCursor(&cursorCursor, cursorWidget->windowHandle());
}
#endif //QT_NO_CURSOR