diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-02-24 13:30:02 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-02-25 00:38:40 +0100 |
commit | e38b55c47ce95480e6d0c1eb9d795cebc4d28c04 (patch) | |
tree | db10fd569a015569aaeff8aa55d663941a1c2f1e /src/3rdparty/zlib_dependency.pri | |
parent | 735466ed2bb45c3faeba4cc02f036d4fdf509817 (diff) |
Consistently test for nullptr
m_view might be nullptr, which is checked before setting up the palette,
so don't set the QTextCharFormat up without checking first as well.
Fixes static analyzer warning 0ef07dd07bebe04b93d1fc802eddb57a
Pick-to: 6.1
Change-Id: Ia1c92eb4183c9e368e92875775cff90e2883ddaf
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/3rdparty/zlib_dependency.pri')
0 files changed, 0 insertions, 0 deletions