Try to create TestModel as a pointer. TestModel *model=new TestModel(&view);
view.setModel(model); view.show(); On Tue, May 19, 2009 at 12:41 PM, Jos van den Oever <[email protected]>wrote: > plication with an implementation of > QAbstractItemModel that is very simple. It just wraps a > QStandardItemModel. > Nevertheless it does not work as the plain QStandardItemModel. > Am I making a mistake or is there a bug somewhere? >
_______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
