Fixed annoying warning in modeltest.cpp
This commit is contained in:
parent
72411fc504
commit
a8df2558e4
1 changed files with 1 additions and 1 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue