summaryrefslogtreecommitdiff
path: root/plugins/Scriver
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-01-30 20:18:37 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-01-30 20:18:46 +0300
commit4c281b28075dfa69d8cc2301b06492fbddb62f24 (patch)
treeb788f37caaff5063fd36eecad191d2a5582be12c /plugins/Scriver
parenta243c59835182e2a1fa91d9c7bd80defea88e4e8 (diff)
LIST::remove + LIST::indexOf() combination removed with LIST::removeItem
Diffstat (limited to 'plugins/Scriver')
-rw-r--r--plugins/Scriver/src/sendqueue.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}