X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolCreatorBase.cxx;h=e5d60bde56758cbde8adf32252e004563d7e1877;hb=f850d8dae4e49985f1ba0d69662206cd02e36064;hp=4f6fe47eac5838293044e925e3c451ef04a26326;hpb=4ea2c946973c570cbe540a27cf44d6acdf44867c;p=clitk.git 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;