summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextformat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qtextformat.cpp')
-rw-r--r--src/gui/text/qtextformat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextformat.cpp b/src/gui/text/qtextformat.cpp
index f992bc75e6..1653ac8c33 100644
--- a/src/gui/text/qtextformat.cpp
+++ b/src/gui/text/qtextformat.cpp
@@ -170,7 +170,7 @@ struct Property
inline Property(qint32 k, const QVariant &v) : key(k), value(v) {}
inline Property() {}
- qint32 key;
+ qint32 key = -1;
QVariant value;
inline bool operator==(const Property &other) const