From 4c281b28075dfa69d8cc2301b06492fbddb62f24 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 30 Jan 2020 20:18:37 +0300 Subject: LIST::remove + LIST::indexOf() combination removed with LIST::removeItem --- plugins/Variables/src/contact.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Variables') diff --git a/plugins/Variables/src/contact.cpp b/plugins/Variables/src/contact.cpp index 4a1079b437..3df3681d85 100644 --- a/plugins/Variables/src/contact.cpp +++ b/plugins/Variables/src/contact.cpp @@ -332,7 +332,7 @@ static int contactSettingChanged(WPARAM hContact, LPARAM lParam) (isUid && (it->flags & CI_UNIQUEID))) { /* remove from cache */ mir_free(it->tszContact); - arContactCache.remove(arContactCache.indexOf(&it)); + arContactCache.removeItem(&it); break; } } -- cgit v1.2.3