From: ptv Date: Thu, 27 Nov 2008 15:43:34 +0000 (+0000) Subject: Fix from BR_V5_DEV X-Git-Tag: Phase8_Part1_16122008~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=841cc151f3f28d3335467eafdad167e59cf6fdc3;p=modules%2Fgui.git Fix from BR_V5_DEV Qt4 porting. Fatal Error SIGSEGV on deleting a mesh. Regress. --- diff --git a/src/SUIT/SUIT_TreeModel.cxx b/src/SUIT/SUIT_TreeModel.cxx index 716a7dd2a..09f0749fa 100755 --- a/src/SUIT/SUIT_TreeModel.cxx +++ b/src/SUIT/SUIT_TreeModel.cxx @@ -873,9 +873,6 @@ QModelIndex SUIT_TreeModel::index( int row, int column, if( hasIndex( row, column, parent ) ) { TreeItem* parentItem = treeItem( parent ); - QString pname; - if( parentItem && parentItem->dataObject() ) - pname = parentItem->dataObject()->name(); if( parentItem ) { TreeItem* childItem = parentItem->child( row );