Hello, colleagues !
I make MDi application, and test setting model into treeview such as
But one bug arisesQt Code:
tv->setModel (radModel); QMdiSubWindow * subW = m_mdiArea->addSubWindow (tv); tv->show ();To copy to clipboard, switch view to plain text mode
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 ?
Bookmarks