From 73c88034beb8b97716b263d92a9fbd315f20d596 Mon Sep 17 00:00:00 2001 From: Sung-Jin Park Date: Wed, 19 Aug 2020 15:23:27 +0900 Subject: [PATCH] DSWaylandInputMethod: initialize member variable @ constructor Change-Id: I09193e3bded606217d67b7e2bd71dc4f7072a303 Signed-off-by: Sung-Jin Park --- src/DSWaylandServer/DSWaylandInputMethod.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/DSWaylandServer/DSWaylandInputMethod.cpp b/src/DSWaylandServer/DSWaylandInputMethod.cpp index 316679c..96248dd 100644 --- a/src/DSWaylandServer/DSWaylandInputMethod.cpp +++ b/src/DSWaylandServer/DSWaylandInputMethod.cpp @@ -580,7 +580,8 @@ DSWaylandInputMethod::DSWaylandInputMethod(DSWaylandCompositor *compositor, DSTe : DSObject(), _d_ptr(std::make_unique(this, compositor)), __dsTextInputPrivate(dsTextInputPrivate), __compositor(compositor), - __activateContext(nullptr) + __activateContext(nullptr), + __candidateState(0) { __inputMethodContext = new DSWaylandInputMethodContext(compositor, this); } -- 2.7.4