diff --git a/applets/kicker/plugin/kastatsfavoritesmodel.cpp b/applets/kicker/plugin/kastatsfavoritesmodel.cpp --- a/applets/kicker/plugin/kastatsfavoritesmodel.cpp +++ b/applets/kicker/plugin/kastatsfavoritesmodel.cpp @@ -335,10 +335,10 @@ // Removing the entry from the cache QMutableHashIterator i(m_itemEntries); while (i.hasNext()) { + i.next(); if (i.value() == entry) { i.remove(); } - i.next(); } delete entry;