From 0ce57395e1c7019c52a989c3a77e2a8eb1bc3cf7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 3 Jun 2011 23:28:50 +0300 Subject: Fix iterator usage in socialwindow.cpp --- src/gui/socialwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp index d87b94bad..7b8d064ce 100644 --- a/src/gui/socialwindow.cpp +++ b/src/gui/socialwindow.cpp @@ -472,7 +472,7 @@ public: if (!finded) { delete *ai; - avatars->erase(ai); + ai = avatars->erase(ai); } else { -- cgit v1.2.3-70-g09d2