summaryrefslogtreecommitdiffstats
path: root/tests/manual/qmlvolume
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/qmlvolume')
-rw-r--r--tests/manual/qmlvolume/datasource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/qmlvolume/datasource.cpp b/tests/manual/qmlvolume/datasource.cpp
index 6f3d8c15..a06ea6d9 100644
--- a/tests/manual/qmlvolume/datasource.cpp
+++ b/tests/manual/qmlvolume/datasource.cpp
@@ -57,7 +57,7 @@ void DataSource::fillVolume(QCustom3DVolume *volumeItem)
float(textureSize) / 2.0f,
float(textureSize) / 2.0f);
- QVector<uchar> *textureData = new QVector<uchar>(textureSize * textureSize * textureSize / 2);
+ QList<uchar> *textureData = new QList<uchar>(textureSize * textureSize * textureSize / 2);
for (int i = 0; i < textureSize; i++) {
for (int j = 0; j < textureSize / 2; j++) {
for (int k = 0; k < textureSize; k++) {
@@ -82,7 +82,7 @@ void DataSource::fillVolume(QCustom3DVolume *volumeItem)
volumeItem->setTextureFormat(QImage::Format_Indexed8);
volumeItem->setTextureData(textureData);
- QVector<QRgb> colorTable(256);
+ QList<QRgb> colorTable(256);
for (int i = 1; i < 256; i++) {
if (i < 15)