Fix uninitialized read in ChannelView's highlightedMessage_ (#4109)

This commit is contained in:
pajlada 2022-11-04 19:59:03 +01:00 committed by GitHub
parent 05008214fa
commit e3e1845262
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -301,7 +301,7 @@ private:
QTimer scrollTimer_;
// We're only interested in the pointer, not the contents
MessageLayout *highlightedMessage_;
MessageLayout *highlightedMessage_ = nullptr;
QVariantAnimation highlightAnimation_;
void setupHighlightAnimationColors();