summaryrefslogtreecommitdiffstats
path: root/src/shared/qwaylandinputmethodeventbuilder_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/qwaylandinputmethodeventbuilder_p.h')
-rw-r--r--src/shared/qwaylandinputmethodeventbuilder_p.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/shared/qwaylandinputmethodeventbuilder_p.h b/src/shared/qwaylandinputmethodeventbuilder_p.h
index 3912afc04..a234cf44b 100644
--- a/src/shared/qwaylandinputmethodeventbuilder_p.h
+++ b/src/shared/qwaylandinputmethodeventbuilder_p.h
@@ -47,7 +47,7 @@ QT_BEGIN_NAMESPACE
class QWaylandInputMethodEventBuilder
{
public:
- QWaylandInputMethodEventBuilder();
+ QWaylandInputMethodEventBuilder() = default;
~QWaylandInputMethodEventBuilder();
void reset();
@@ -66,12 +66,12 @@ public:
private:
QPair<int, int> replacementForDeleteSurrounding();
- int32_t m_anchor;
- int32_t m_cursor;
- uint32_t m_deleteBefore;
- uint32_t m_deleteAfter;
+ int32_t m_anchor = 0;
+ int32_t m_cursor = 0;
+ uint32_t m_deleteBefore = 0;
+ uint32_t m_deleteAfter = 0;
- int32_t m_preeditCursor;
+ int32_t m_preeditCursor = 0;
QList<QInputMethodEvent::Attribute> m_preeditStyles;
};