summaryrefslogtreecommitdiffstats
path: root/src/sql/models/qsqlquerymodel_p.h
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-06-22 12:47:00 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-06-25 07:54:21 +0200
commit64c3ca091026de433780ba05f006294968f78526 (patch)
tree24210006235fc52211c6d4881bf324e9a4c4a486 /src/sql/models/qsqlquerymodel_p.h
parent33c24b9b9d0c6ae1899cec2e01bad9df01ca05f6 (diff)
Use QList instead of QVector in sql
Task-number: QTBUG-84469 Change-Id: I942aec7d949331a52d7f12fa2725d8d9707f605f Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/sql/models/qsqlquerymodel_p.h')
-rw-r--r--src/sql/models/qsqlquerymodel_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sql/models/qsqlquerymodel_p.h b/src/sql/models/qsqlquerymodel_p.h
index 64e9aeb3db..abacd64cde 100644
--- a/src/sql/models/qsqlquerymodel_p.h
+++ b/src/sql/models/qsqlquerymodel_p.h
@@ -80,7 +80,7 @@ public:
QModelIndex bottom;
QSqlRecord rec;
uint atEnd : 1;
- QVector<QHash<int, QVariant> > headers;
+ QList<QHash<int, QVariant>> headers;
QVarLengthArray<int, 56> colOffsets; // used to calculate indexInQuery of columns
int nestedResetLevel;
};