From: dsarrut Date: Tue, 30 Mar 2010 06:51:10 +0000 (+0000) Subject: - correct bug (qt length/size) X-Git-Tag: v1.2.0~740 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=529927957a38b6b150c55d184479025d376c0c22;p=clitk.git - correct bug (qt length/size) --- diff --git a/vv/vvToolCreatorBase.cxx b/vv/vvToolCreatorBase.cxx index 4f6fe47..e5d60bd 100644 --- a/vv/vvToolCreatorBase.cxx +++ b/vv/vvToolCreatorBase.cxx @@ -74,7 +74,7 @@ void vvToolCreatorBase::InsertToolInContextMenu() { //------------------------------------------------------------------------------ void vvToolCreatorBase::addMenuToContextMenu(QMenu * m) { mToolMenu = m; - for(int i=0; iactions().length(); i++) { + for(int i=0; iactions().size(); i++) { mListOfActions.push_back(m->actions()[i]); } mUseContextMenu = true;