diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-07-06 12:34:58 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-07-06 13:43:20 +0200 |
commit | 1e25b81e0d6c1da4643c9cc48680f5cc4399d068 (patch) | |
tree | 39f7a70e11b6b14382673167b6e183f70e3dc6c5 /src/plugins/platforms/xcb/nativepainting/qcolormap_x11.cpp | |
parent | 23b7e7972ea40afd2594d0570cbcf8192619cd56 (diff) |
Use QList instead of QVector in plugins
Task-number: QTBUG-84469
Change-Id: Ic86f4a3000592a1c9ae62e4a83f4fe39832a6b24
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/plugins/platforms/xcb/nativepainting/qcolormap_x11.cpp')
-rw-r--r-- | src/plugins/platforms/xcb/nativepainting/qcolormap_x11.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/platforms/xcb/nativepainting/qcolormap_x11.cpp b/src/plugins/platforms/xcb/nativepainting/qcolormap_x11.cpp index fe9d1fcde9..b4a9d64eb8 100644 --- a/src/plugins/platforms/xcb/nativepainting/qcolormap_x11.cpp +++ b/src/plugins/platforms/xcb/nativepainting/qcolormap_x11.cpp @@ -77,8 +77,8 @@ public: uint g_shift; uint b_shift; - QVector<QColor> colors; - QVector<int> pixels; + QList<QColor> colors; + QList<int> pixels; }; static uint right_align(uint v) @@ -638,7 +638,7 @@ const QColor QXcbColormap::colorAt(uint pixel) const return QColor(r, g, b); } -const QVector<QColor> QXcbColormap::colormap() const +const QList<QColor> QXcbColormap::colormap() const { return d->colors; } QXcbColormap &QXcbColormap::operator=(const QXcbColormap &colormap) |