summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qtextboundaryfinder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text/qtextboundaryfinder.h')
-rw-r--r--src/corelib/text/qtextboundaryfinder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/text/qtextboundaryfinder.h b/src/corelib/text/qtextboundaryfinder.h
index 336096d2d0..04e64fd69b 100644
--- a/src/corelib/text/qtextboundaryfinder.h
+++ b/src/corelib/text/qtextboundaryfinder.h
@@ -63,7 +63,7 @@ private:
BoundaryType t = Grapheme;
QString s;
QStringView sv;
- qsizetype pos;
+ qsizetype pos = 0;
uint freeBuffer : 1;
uint unused : 31;
QCharAttributes *attributes = nullptr;