summaryrefslogtreecommitdiffstats
path: root/tests/auto/sql/models/qsqlquerymodel
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-02-01 10:24:10 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-02-02 12:06:05 +0100
commitbde773ec6a0d9319bd8cebf138513afd79c2eef7 (patch)
tree9cfb89a31d66b6f8849ad0e37d2aee9572cf6a67 /tests/auto/sql/models/qsqlquerymodel
parentfce101913313f7705831bb5de10dbbab46e5b3a0 (diff)
Fix a few compiler warnings in tests
Change-Id: I22f6ac8ed02dd4ef4083ce3c781552623a0b08da Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/auto/sql/models/qsqlquerymodel')
-rw-r--r--tests/auto/sql/models/qsqlquerymodel/tst_qsqlquerymodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/sql/models/qsqlquerymodel/tst_qsqlquerymodel.cpp b/tests/auto/sql/models/qsqlquerymodel/tst_qsqlquerymodel.cpp
index ac94961a84..f323c8b984 100644
--- a/tests/auto/sql/models/qsqlquerymodel/tst_qsqlquerymodel.cpp
+++ b/tests/auto/sql/models/qsqlquerymodel/tst_qsqlquerymodel.cpp
@@ -99,7 +99,7 @@ class DBTestModel: public QSqlQueryModel
{
public:
DBTestModel(QObject *parent = nullptr): QSqlQueryModel(parent) {}
- QModelIndex indexInQuery(const QModelIndex &item) const { return QSqlQueryModel::indexInQuery(item); }
+ QModelIndex indexInQuery(const QModelIndex &item) const override { return QSqlQueryModel::indexInQuery(item); }
};
tst_QSqlQueryModel::tst_QSqlQueryModel()