diff --git a/lib/jkqtcommon/jkqtpcsstools.cpp b/lib/jkqtcommon/jkqtpcsstools.cpp index 7ff680bf9c3..19ab2e805ab 100644 --- a/lib/jkqtcommon/jkqtpcsstools.cpp +++ b/lib/jkqtcommon/jkqtpcsstools.cpp @@ -380,7 +380,7 @@ JKQTPCSSParser::Token::Token(double num, const QString &unit_): } JKQTPCSSParser::Token::Token(const QString &str, TokenType type_): - StringValue(str), type(type_) + StringValue(str), type(type_), NumberValue(0.0) { if (type_==NUMBER) NumberValue=str.toDouble(); if (type_==HEXSTRING) NumberValue=str.toInt(nullptr,16);