From c76c9c9956e70ab61fbc39960f613bff640b21c2 Mon Sep 17 00:00:00 2001 From: dmv Date: Fri, 21 Nov 2008 13:06:41 +0000 Subject: [PATCH] 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