Fixed annoying warning in modeltest.cpp

This commit is contained in:
Albert Vaca 2015-03-08 19:13:34 -07:00
parent 72411fc504
commit a8df2558e4

View file

@ -359,7 +359,7 @@ void ModelTest::checkChildren(const QModelIndex &parent, int currentDepth)
//qDebug() << "child:" << index;
//qDebug() << p;
//qDebug() << parent;
Q_ASSERT(model->parent(index) == parent);
Q_ASSERT(p == parent);
// recursively go down the children
if (model->hasChildren(index) && currentDepth < 10 ) {