Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.9.0 Beta1
Description
In QWidgetLineControl::draw(), the QTextLayout::FormatRange o is append()ed to QList<QTextLayout::FormatRange> selections even if it was never initialized (L612 == false and L619 == false).
Coverity complains about this: CID 390830 (https://scan3.scan.coverity.com/#/project-view/68077/10113?selectedIssue=390830)
The fix is probably to not append(o) if o wasn't initialized, but I'm not 100% sure, so delegating to someone more qualified...