From 22eca1640a6326ddc668186a89a0cacb4611b6a1 Mon Sep 17 00:00:00 2001 From: dmv Date: Tue, 21 Oct 2008 12:03:35 +0000 Subject: [PATCH] 5x REGRESS: crash on delete object in GEOM --- src/SUIT/SUIT_TreeModel.cxx | 3 --- 1 file changed, 3 deletions(-) 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(); } -- 2.39.2