From: vsr Date: Wed, 3 Apr 2013 11:20:06 +0000 (+0000) Subject: Rollback change done in revision 1.2.2.4.8.17 as it causes crash on Qt 4.6 (series 6x) X-Git-Tag: V6_main_FINAL~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=36edb10d669953811e25a6769dd460bc0d63ec5a;p=modules%2Fgui.git Rollback change done in revision 1.2.2.4.8.17 as it causes crash on Qt 4.6 (series 6x) --- diff --git a/src/SUIT/SUIT_TreeModel.cxx b/src/SUIT/SUIT_TreeModel.cxx index 655f6734a..b4ad3e4be 100755 --- a/src/SUIT/SUIT_TreeModel.cxx +++ b/src/SUIT/SUIT_TreeModel.cxx @@ -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 );