diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-24 10:25:01 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-25 10:11:51 +0200 |
commit | 3c7d4de151d0d87b687644381c5d8aaef06f21b2 (patch) | |
tree | 12c688048acac5f817b68dfbef088544a8ae946a /tests/auto | |
parent | fcb44309e4cd228245d310bdbd622e7a2ff98283 (diff) |
Use QList instead of QVector
Task-number: QTBUG-84469
Change-Id: I4dc064b70adb054ca4add2dd662e7227255ff970
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/cpptest/q3dcustom-volume/tst_custom.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/cpptest/q3dcustom-volume/tst_custom.cpp b/tests/auto/cpptest/q3dcustom-volume/tst_custom.cpp index 23aa072c..982353ac 100644 --- a/tests/auto/cpptest/q3dcustom-volume/tst_custom.cpp +++ b/tests/auto/cpptest/q3dcustom-volume/tst_custom.cpp @@ -77,9 +77,9 @@ void tst_custom::construct() QVERIFY(custom); delete custom; - QVector<uchar> *tdata = new QVector<uchar>(1000); + QList<uchar> *tdata = new QList<uchar>(1000); - QVector<QRgb> table; + QList<QRgb> table; table << QRgb(0xff00ff) << QRgb(0x00ff00); custom = new QCustom3DVolume(QVector3D(1.0, 1.0, 1.0), QVector3D(1.0, 1.0, 1.0), |