From 36edb10d669953811e25a6769dd460bc0d63ec5a Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 3 Apr 2013 11:20:06 +0000 Subject: [PATCH] Rollback change done in revision 1.2.2.4.8.17 as it causes crash on Qt 4.6 (series 6x) --- src/SUIT/SUIT_TreeModel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.2