diff --git a/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp b/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp index 64fb3cdfa..a7627a967 100644 --- a/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp +++ b/retroshare-gui/src/gui/gxs/GxsIdDetails.cpp @@ -456,7 +456,6 @@ void GxsIdDetails::checkCleanImagesCache() std::cerr << "Deleting pixmap " << it->first << " size " << i << " " << s << " bytes." << std::endl; it->second[i].second = QPixmap(); - it = mDefaultIconCache.erase(it); ++nb_deleted; size_deleted += s; }