]> cloud.milkyroute.net Git - dolphin.git/commit
KItemListView fix valgrind issue "Conditional jump or move depends on uninitialised...
authorMarius P <nmariusp1@gmail.com>
Sun, 5 Jun 2022 04:36:01 +0000 (07:36 +0300)
committerMéven Car <meven.car@kdemail.net>
Tue, 7 Jun 2022 11:41:21 +0000 (11:41 +0000)
commit8113af62c48d43c9290b4721547f9feea35b66b0
treedccd2d211367d325411d343ae03b94912f426013
parente406bc197fc0116d7fd8bb62086b41c52417c948
KItemListView fix valgrind issue "Conditional jump or move depends on uninitialised value"

KItemListView::setAlternateBackgrounds(bool) (kitemlistview.cpp:489)
In C++, a data member of an object is not automatically initialized to "zero".
In this case a bool had random values such as the integer 255.
src/kitemviews/kitemlistview.cpp