From: dmv Date: Tue, 21 Oct 2008 12:03:35 +0000 (+0000) Subject: 5x REGRESS: crash on delete object in GEOM X-Git-Tag: V5_1_0a3~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=22eca1640a6326ddc668186a89a0cacb4611b6a1;p=modules%2Fgui.git 5x REGRESS: crash on delete object in GEOM --- diff --git a/src/SUIT/SUIT_TreeModel.cxx b/src/SUIT/SUIT_TreeModel.cxx index 09230462b..716a7dd2a 100755 --- a/src/SUIT/SUIT_TreeModel.cxx +++ b/src/SUIT/SUIT_TreeModel.cxx @@ -880,12 +880,9 @@ QModelIndex SUIT_TreeModel::index( int row, int column, { TreeItem* childItem = parentItem->child( row ); if( childItem ) - { - QString cname = childItem->dataObject()->name(); return createIndex( row, column, childItem ); } } - } return QModelIndex(); }