]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Qt4 porting. Fatal Error SIGSEGV on deleting a mesh. Regress.
authordmv <dmv@opencascade.com>
Fri, 21 Nov 2008 13:06:41 +0000 (13:06 +0000)
committerdmv <dmv@opencascade.com>
Fri, 21 Nov 2008 13:06:41 +0000 (13:06 +0000)
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 );