diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-22 11:44:14 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-29 19:19:47 +0200 |
commit | 9fa3cf15c8500fba5bbb861f1925160815ae2afd (patch) | |
tree | f779e08446bf302803b27130cf4c92fe46ba68b6 /src/gui/image/qimage_p.h | |
parent | c70c4e42665eb34e677fc51a49552c9af3f58d7a (diff) |
Use QList instead of QVector in gui
Applied to headers only. Source file to be changed separately.
Task-number: QTBUG-84469
Change-Id: Ic08a899321eaffc46b8461aaee3dbaa4d2c727a9
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/image/qimage_p.h')
-rw-r--r-- | src/gui/image/qimage_p.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gui/image/qimage_p.h b/src/gui/image/qimage_p.h index e154ae8183..4065ac27ce 100644 --- a/src/gui/image/qimage_p.h +++ b/src/gui/image/qimage_p.h @@ -51,13 +51,12 @@ // We mean it. // -#include <QtGui/qcolorspace.h> #include <QtGui/private/qtguiglobal_p.h> +#include <QtGui/qcolorspace.h> #include <QtGui/qimage.h> #include <QtCore/private/qnumeric_p.h> - -#include <QMap> -#include <QVector> +#include <QtCore/qlist.h> +#include <QtCore/qmap.h> QT_BEGIN_NAMESPACE @@ -79,7 +78,7 @@ struct Q_GUI_EXPORT QImageData { // internal image data int depth; qsizetype nbytes; // number of bytes data qreal devicePixelRatio; - QVector<QRgb> colortable; + QList<QRgb> colortable; uchar *data; QImage::Format format; qsizetype bytes_per_line; |