From f58e56ccf900674f6f6b7945c70a6506ecc80b14 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Sat, 6 Sep 2014 21:51:46 +0200 Subject: [PATCH] Silence warnings about keyboard grab and size hint propagation These two unimplemented functions often result in showing warnings from the default implementations. This is not quite ideal since the warning is useless for users and pollutes the standard output (which f.ex. Creator captures as-is) Change-Id: Ic05ff1590ed351738f0390a94ed5203a05664d4a Reviewed-by: Shawn Rutledge --- src/plugins/platforms/wayland/qwaylandwindow_p.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/platforms/wayland/qwaylandwindow_p.h b/src/plugins/platforms/wayland/qwaylandwindow_p.h index a69af9c0e40..dbb0af2e0aa 100644 --- a/src/plugins/platforms/wayland/qwaylandwindow_p.h +++ b/src/plugins/platforms/wayland/qwaylandwindow_p.h @@ -187,6 +187,9 @@ public: void setBackingStore(QWaylandShmBackingStore *backingStore) { mBackingStore = backingStore; } QWaylandShmBackingStore *backingStore() const { return mBackingStore; } + bool setKeyboardGrabEnabled(bool) Q_DECL_OVERRIDE { return false; } + void propagateSizeHints() Q_DECL_OVERRIDE { } + public slots: void requestResize();