]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
5x REGRESS: crash on delete object in GEOM
authordmv <dmv@opencascade.com>
Tue, 21 Oct 2008 12:03:35 +0000 (12:03 +0000)
committerdmv <dmv@opencascade.com>
Tue, 21 Oct 2008 12:03:35 +0000 (12:03 +0000)
src/SUIT/SUIT_TreeModel.cxx

index 09230462ba325060d128985eeb22cb4a42d6ed4f..716a7dd2adfdd7e670759874e0f87b3709de9bcd 100755 (executable)
@@ -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();
 }