From 969644c39ac65b346a3f5d7c3b21d7de02953da4 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 27 Oct 2019 16:24:47 +0100 Subject: [PATCH] cc_frm: us at member inside addCCItem() for more safety --- src/gui/components/cc_frm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm.cpp b/src/gui/components/cc_frm.cpp index c160b1187..356ebc5aa 100644 --- a/src/gui/components/cc_frm.cpp +++ b/src/gui/components/cc_frm.cpp @@ -222,7 +222,7 @@ int CComponentsForm::addCCItem(CComponentsItem* cc_Item) int CComponentsForm::addCCItem(const std::vector &cc_Items) { for (size_t i= 0; i< cc_Items.size(); i++) - addCCItem(cc_Items[i]); + addCCItem(cc_Items.at(i)); return size(); }