From 3793a82038682db77966ea5daf8e75964e4250fe Mon Sep 17 00:00:00 2001 From: Elvis Lee Date: Thu, 18 Feb 2021 15:45:49 +0900 Subject: Handle registry_global out of constructor Factory functions in QWaylandDisplay::registry_global() can be overridden. Later, other classes instantiated in the registry_global can support platform specific implementation with inheritance and some factory function. Change-Id: I92ce574e049b8c91587687cc7c30611f3dfdbe56 Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/client/qwaylanddisplay_p.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client/qwaylanddisplay_p.h') diff --git a/src/client/qwaylanddisplay_p.h b/src/client/qwaylanddisplay_p.h index 38bc35ff1..6443cff2b 100644 --- a/src/client/qwaylanddisplay_p.h +++ b/src/client/qwaylanddisplay_p.h @@ -130,6 +130,8 @@ public: QWaylandDisplay(QWaylandIntegration *waylandIntegration); ~QWaylandDisplay(void) override; + void initialize(); + #if QT_CONFIG(xkbcommon) struct xkb_context *xkbContext() const { return mXkbContext.get(); } #endif -- cgit v1.2.3