]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Rollback change done in revision 1.2.2.4.8.17 as it causes crash on Qt 4.6 (series 6x)
authorvsr <vsr@opencascade.com>
Wed, 3 Apr 2013 11:20:06 +0000 (11:20 +0000)
committervsr <vsr@opencascade.com>
Wed, 3 Apr 2013 11:20:06 +0000 (11:20 +0000)
src/SUIT/SUIT_TreeModel.cxx

index 655f6734a3afc771f6a7d5ef69bd131f9d6edabf..b4ad3e4becfe5c87e51985fdcfdb8281770ca60b 100755 (executable)
@@ -1611,7 +1611,7 @@ void SUIT_TreeModel::updateItem( SUIT_TreeModel::TreeItem* item, bool emitLayout
     return;
   
   // update all columns corresponding to the given data object
-  emit layoutAboutToBeChanged(); // Comment by VSR 25/04/2011: fix crash on delete objects. Uncomment by PRascle 18/12/2012 : required by Qt4.8 (original issue 22424 not accessible)
+  //emit layoutAboutToBeChanged(); // Comment by VSR 25/04/2011: fix crash on delete objects
   QModelIndex firstIdx = index( obj, 0 );
   QModelIndex lastIdx  = index( obj, columnCount() - 1 );
   emit dataChanged( firstIdx, lastIdx );