aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-06-22 12:12:52 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-06-25 07:54:07 +0200
commitdd71c43b9718be3523ed6b307a3402f88de070e1 (patch)
tree16d98b58843a729ad9153142121a5371ff305af5 /src/imports
parent10669911b7beac620989d69653334fb6ee477744 (diff)
Use QList instead of QVector
Task-number: QTBUG-84469 Change-Id: I4c3353c00a566023503fbc178ba8454391dc334c Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/wavefrontmesh/qwavefrontmesh.cpp2
-rw-r--r--src/imports/wavefrontmesh/qwavefrontmesh.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/wavefrontmesh/qwavefrontmesh.cpp b/src/imports/wavefrontmesh/qwavefrontmesh.cpp
index 5d1affbdab..36cc4d4079 100644
--- a/src/imports/wavefrontmesh/qwavefrontmesh.cpp
+++ b/src/imports/wavefrontmesh/qwavefrontmesh.cpp
@@ -454,7 +454,7 @@ QString QWavefrontMesh::log() const
};
}
-bool QWavefrontMesh::validateAttributes(const QVector<QByteArray> &attributes, int *posIndex)
+bool QWavefrontMesh::validateAttributes(const QList<QByteArray> &attributes, int *posIndex)
{
Q_D(QWavefrontMesh);
const int attrCount = attributes.count();
diff --git a/src/imports/wavefrontmesh/qwavefrontmesh.h b/src/imports/wavefrontmesh/qwavefrontmesh.h
index 67e0527e5d..adcf9d6052 100644
--- a/src/imports/wavefrontmesh/qwavefrontmesh.h
+++ b/src/imports/wavefrontmesh/qwavefrontmesh.h
@@ -83,7 +83,7 @@ public:
Error lastError() const;
void setLastError(Error lastError);
- bool validateAttributes(const QVector<QByteArray> &attributes, int *posIndex) override;
+ bool validateAttributes(const QList<QByteArray> &attributes, int *posIndex) override;
QSGGeometry *updateGeometry(QSGGeometry *geometry, int attrCount, int posIndex,
const QRectF &srcRect, const QRectF &rect) override;
QString log() const override;