]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix from BR_V5_DEV
authorptv <ptv@opencascade.com>
Thu, 27 Nov 2008 15:43:34 +0000 (15:43 +0000)
committerptv <ptv@opencascade.com>
Thu, 27 Nov 2008 15:43:34 +0000 (15:43 +0000)
Qt4 porting. Fatal Error SIGSEGV on deleting a mesh. Regress.

src/SUIT/SUIT_TreeModel.cxx

index 716a7dd2adfdd7e670759874e0f87b3709de9bcd..09f0749fa85cc22a471c73e63cac094e222e4203 100755 (executable)
@@ -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 );