QTableView::setModel(QAbstractItemModel *model) has added changes since 4.5
The problem is that it does not check for (model == 0) (which causes warnings when calling connect(...)) and it does not check if "model" is the current mode, which causes duplicated connections. And I also guess it should call disconnect in the case of a model change. QAbstractItemView::setModel(QAbstractItemModel *model) has a good approach that QTableView::setModel should copy.... Philippe _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
