summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylanddisplay_p.h
diff options
context:
space:
mode:
authorElvis Lee <kwangwoong.lee@lge.com>2021-02-18 15:45:49 +0900
committerElvis Lee <kwangwoong.lee@lge.com>2021-03-04 09:06:12 +0000
commit3793a82038682db77966ea5daf8e75964e4250fe (patch)
tree141dc13c491737362d9e33f5dd7caa75149f482a /src/client/qwaylanddisplay_p.h
parent59f58108eecee65789bcea95e6f86242d3316955 (diff)
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 <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/client/qwaylanddisplay_p.h')
-rw-r--r--src/client/qwaylanddisplay_p.h2
1 files changed, 2 insertions, 0 deletions
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