From 841cc151f3f28d3335467eafdad167e59cf6fdc3 Mon Sep 17 00:00:00 2001 From: ptv Date: Thu, 27 Nov 2008 15:43:34 +0000 Subject: [PATCH] Fix from BR_V5_DEV Qt4 porting. Fatal Error SIGSEGV on deleting a mesh. Regress. --- 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 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 ); -- 2.39.2