Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanek Bevendorff <janek@jbev.net>2017-03-10 17:05:02 +0300
committerJanek Bevendorff <janek@jbev.net>2017-03-10 18:11:55 +0300
commit2872f1706c08b89709ab80821da40a4f53f1c336 (patch)
tree078e71709c1f20d9c29cc6a134984b192ec6ca54 /tests/TestGroupModel.cpp
parentda0afd39395ed5aaae5ebf35d1905ccc9f94d186 (diff)
Fix Qt deprecation warnings
Diffstat (limited to 'tests/TestGroupModel.cpp')
-rw-r--r--tests/TestGroupModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TestGroupModel.cpp b/tests/TestGroupModel.cpp
index 3608cc475..1faf82aa2 100644
--- a/tests/TestGroupModel.cpp
+++ b/tests/TestGroupModel.cpp
@@ -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);