kastatsfavoritesmodel.cpp: prefer .value() over operator[]
- In
removeResult
, useresource
directly so we are not comparing to a possiblenullptr
which can cause crashing - Prefer
.value
overoperator[]
to avoid leaving behindnullptr
entries when reading items
Edited by Akseli Lahtinen