iOS: remove setMouse/keyboardGrabEnabled warning

Setting mouseGrabEnabled means that the window should continue
to receive mouse events even when the mouse is not over the
application. This is not an issue on iOS, but the warning is
still annoying.

Change-Id: I0dd7c3828bcb1a51a4eae534aca1da5bfa258f03
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
This commit is contained in:
Richard Moe Gustavsen 2013-04-18 11:05:06 +02:00 committed by The Qt Project
parent 08f0b5dbc4
commit f46a732a4f

View File

@ -77,6 +77,9 @@ public:
int effectiveWidth() const; int effectiveWidth() const;
int effectiveHeight() const; int effectiveHeight() const;
bool setMouseGrabEnabled(bool grab) { return grab; }
bool setKeyboardGrabEnabled(bool grab) { return grab; }
WId winId() const { return WId(m_view); }; WId winId() const { return WId(m_view); };
QList<QWindowSystemInterface::TouchPoint> &touchPoints() { return m_touchPoints; } QList<QWindowSystemInterface::TouchPoint> &touchPoints() { return m_touchPoints; }