From 3c7d4de151d0d87b687644381c5d8aaef06f21b2 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Wed, 24 Jun 2020 10:25:01 +0200 Subject: Use QList instead of QVector Task-number: QTBUG-84469 Change-Id: I4dc064b70adb054ca4add2dd662e7227255ff970 Reviewed-by: Sona Kurazyan Reviewed-by: Lars Knoll --- src/datavisualization/data/customrenderitem_p.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/datavisualization/data/customrenderitem_p.h') diff --git a/src/datavisualization/data/customrenderitem_p.h b/src/datavisualization/data/customrenderitem_p.h index abf6e106..3ee423cb 100644 --- a/src/datavisualization/data/customrenderitem_p.h +++ b/src/datavisualization/data/customrenderitem_p.h @@ -99,9 +99,9 @@ public: inline void setTextureDepth(int depth) { m_textureDepth = depth; setSliceIndexZ(m_sliceIndexZ); } inline int textureDepth() const { return m_textureDepth; } inline int textureSize() const { return m_textureWidth * m_textureHeight * m_textureDepth; } - inline void setColorTable(const QVector &colors) { m_colorTable = colors; } - void setColorTable(const QVector &colors); - inline const QVector &colorTable() const { return m_colorTable; } + inline void setColorTable(const QList &colors) { m_colorTable = colors; } + void setColorTable(const QList &colors); + inline const QList &colorTable() const { return m_colorTable; } inline void setVolume(bool volume) { m_isVolume = volume; } inline bool isVolume() const { return m_isVolume; } inline void setTextureFormat(QImage::Format format) { m_textureFormat = format; } @@ -175,7 +175,7 @@ private: int m_textureWidth; int m_textureHeight; int m_textureDepth; - QVector m_colorTable; + QList m_colorTable; bool m_isVolume; QImage::Format m_textureFormat; int m_sliceIndexX; -- cgit v1.2.3