Skip to content

AnnotationModel: don't emit layoutChanged from inside reset

David Faure requested to merge work/dfaure/qaim_fixes into master

rebuildTree's only caller is notifySetup() which does a reset, don't emit layoutChanged() between beginResetModel and endResetModel.

Caught by QAbstractItemModelTester (after instanciating one in the AnnotationModel constructor to debug something else)

@aacid

Merge request reports