-
Type:
Bug
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Done
-
Affects Version/s: 5.14.0 Beta2
-
Fix Version/s: 5.14.1
-
Component/s: GUI: Text handling
-
Labels:None
The attached HTML file crashes QTextDocument::setHtml (QList<T>::at: "index out of range").
442│ void ValueExtractor::lengthValues(const Declaration &decl, int *m) 443│ { 444│ if (decl.d->parsed.isValid()) { 445│ QList<QVariant> v = decl.d->parsed.toList(); 446│ for (int i = 0; i < 4; i++) 447├───────────> m[i] = lengthValueFromData(qvariant_cast<LengthData>(v.at(i)), f); 448│ return; 449│ } 450│ (gdb) p v $1 = QList<QVariant> (size = 0)