summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-09-06 21:51:46 +0200
committerLaszlo Agocs <laszlo.agocs@digia.com>2014-09-08 10:15:47 +0200
commit374cb3b2872652317baec299712d7dfde6d9c896 (patch)
tree88772d8c53deee3df9f51e42033a19515b83c4f1
parentec4c43937e905898453aefebf4b8b4d89c785689 (diff)
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 <shawn.rutledge@digia.com>
-rw-r--r--src/client/qwaylandwindow_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/qwaylandwindow_p.h b/src/client/qwaylandwindow_p.h
index a69af9c0e..dbb0af2e0 100644
--- a/src/client/qwaylandwindow_p.h
+++ b/src/client/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();