kastatsfavoritesmodel.cpp: prefer .value() over operator[]
- In
removeResult, useresourcedirectly so we are not comparing to a possiblenullptrwhich can cause crashing - Prefer
.valueoveroperator[]to avoid leaving behindnullptrentries when reading items
Edited by Akseli Lahtinen