Hello, colleagues !

I make MDi application, and test setting model into treeview such as

    QTreeView * tv = new QTreeView;
    QAbstractItemModel * radModel = new QStandardItemModel (2*11776,
100000, 0);
    tv->setModel (radModel);
    QMdiSubWindow * subW = m_mdiArea->addSubWindow (tv);
    tv->show ();

But one bug arises
ASSERT failure in QVector<T>::at: "index out of range", file
../../include/QtCore/../../src/corelib/tools/qvector.h, line 351

If I try to construct model with 10000 columns then all works fine. Where
is my error  and which way I have to solve this problem ?

-- 
Best regards,
Sincerely yours,
Yuriy Rusinov.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to