Fix Qt deprecation warnings
This commit is contained in:
@@ -131,7 +131,7 @@ void TestGroupModel::test()
|
||||
QCOMPARE(spyMoved.count(), 3);
|
||||
QVERIFY(index12.isValid());
|
||||
QCOMPARE(model->data(index12).toString(), QString("group12"));
|
||||
QCOMPARE(model->data(index12.child(0, 0)).toString(), QString("group121"));
|
||||
QCOMPARE(model->data(index12.model()->index(0, 0, index12)).toString(), QString("group121"));
|
||||
|
||||
delete group12;
|
||||
QCOMPARE(spyAboutToAdd.count(), 1);
|
||||
|
||||
Reference in New Issue
Block a user