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/Scriver/src/sendqueue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Scriver/src') diff --git a/plugins/Scriver/src/sendqueue.cpp b/plugins/Scriver/src/sendqueue.cpp index eb27717760..bfd39e3ce5 100644 --- a/plugins/Scriver/src/sendqueue.cpp +++ b/plugins/Scriver/src/sendqueue.cpp @@ -89,7 +89,7 @@ void ReportSendQueueTimeouts(CMsgDialog *pDlg) pDlg->StopMessageSending(); (new CErrorDlg(TranslateT("The message send timed out."), pDlg, it))->Create(); } - else arQueue.remove(arQueue.indexOf(&it)); + else arQueue.removeItem(&it); } } -- cgit v1.2.3