Disable some qDebug() noise in ModelTest.

This commit is contained in:
Felix Geyer 2012-04-14 17:55:19 +02:00
parent 849f83e030
commit a8b3771f15

View File

@ -536,7 +536,7 @@ void ModelTest::layoutChanged()
*/ */
void ModelTest::rowsAboutToBeRemoved ( const QModelIndex &parent, int start, int end ) void ModelTest::rowsAboutToBeRemoved ( const QModelIndex &parent, int start, int end )
{ {
qDebug() << "ratbr" << parent << start << end; //qDebug() << "ratbr" << parent << start << end;
Changing c; Changing c;
c.parent = parent; c.parent = parent;
c.oldSize = model->rowCount ( parent ); c.oldSize = model->rowCount ( parent );
@ -552,7 +552,7 @@ qDebug() << "ratbr" << parent << start << end;
*/ */
void ModelTest::rowsRemoved ( const QModelIndex & parent, int start, int end ) void ModelTest::rowsRemoved ( const QModelIndex & parent, int start, int end )
{ {
qDebug() << "rr" << parent << start << end; // qDebug() << "rr" << parent << start << end;
Changing c = remove.pop(); Changing c = remove.pop();
QVERIFY( c.parent == parent ); QVERIFY( c.parent == parent );
QVERIFY( c.oldSize - ( end - start + 1 ) == model->rowCount ( parent ) ); QVERIFY( c.oldSize - ( end - start + 1 ) == model->rowCount ( parent ) );