silence a few warnings in kdeui proxy model test

This commit is contained in:
Ivailo Monev 2014-12-07 22:48:19 +00:00
parent 2a54c40b4d
commit 5103b640cc

View file

@ -156,6 +156,9 @@ void ModelTest::nonDestructiveBasicTest()
model->sibling ( 0, 0, QModelIndex() );
model->span ( QModelIndex() );
model->supportedDropActions();
// compiler warnings
Q_UNUSED(flags)
}
/*!
@ -226,6 +229,10 @@ void ModelTest::hasIndex()
// hasIndex() is tested more extensively in checkChildren(),
// but this catches the big mistakes
// compiler warnings
Q_UNUSED(rows)
Q_UNUSED(columns)
}
/*!
@ -480,6 +487,10 @@ void ModelTest::data()
state == Qt::PartiallyChecked ||
state == Qt::Checked );
}
// compiler warnings
Q_UNUSED(alignment)
Q_UNUSED(state)
}
/*!