summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/kernel/qpixelformat/tst_qpixelformat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/gui/kernel/qpixelformat/tst_qpixelformat.cpp')
-rw-r--r--tests/auto/gui/kernel/qpixelformat/tst_qpixelformat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/gui/kernel/qpixelformat/tst_qpixelformat.cpp b/tests/auto/gui/kernel/qpixelformat/tst_qpixelformat.cpp
index c02d7cd165..14d2b74491 100644
--- a/tests/auto/gui/kernel/qpixelformat/tst_qpixelformat.cpp
+++ b/tests/auto/gui/kernel/qpixelformat/tst_qpixelformat.cpp
@@ -56,8 +56,8 @@ void tst_QPixelFormat::testOperators()
void tst_QPixelFormat::testQVectorOfFormats()
{
- QVector<QPixelFormat> reallocedVector;
- QVector<QPixelFormat> reservedVector;
+ QList<QPixelFormat> reallocedVector;
+ QList<QPixelFormat> reservedVector;
reservedVector.reserve(QImage::NImageFormats);
for (int i = 0; i < QImage::NImageFormats; i++) {
if (i == 0 || i == 2) // skip invalid and monolsb