It can be null even after updateTextTexture() if there is not text
to generate the texture from:
if (m_effectFrame->text().isEmpty()) return;
It can be null even after updateTextTexture() if there is not text
to generate the texture from:
if (m_effectFrame->text().isEmpty()) return;
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Interestingly we have never seen this one being a problem over the last few years, so in reality the text never is empty.
That is what static analysis is for - to catch bugs that have not been exposed yet :)