From 9fa3cf15c8500fba5bbb861f1925160815ae2afd Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Mon, 22 Jun 2020 11:44:14 +0200 Subject: 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 --- src/gui/rhi/qrhi_p_p.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/rhi/qrhi_p_p.h') diff --git a/src/gui/rhi/qrhi_p_p.h b/src/gui/rhi/qrhi_p_p.h index 9efad4ba25..552e2695ce 100644 --- a/src/gui/rhi/qrhi_p_p.h +++ b/src/gui/rhi/qrhi_p_p.h @@ -149,7 +149,7 @@ public: virtual void beginExternal(QRhiCommandBuffer *cb) = 0; virtual void endExternal(QRhiCommandBuffer *cb) = 0; - virtual QVector supportedSampleCounts() const = 0; + virtual QList supportedSampleCounts() const = 0; virtual int ubufAlignment() const = 0; virtual bool isYUpInFramebuffer() const = 0; virtual bool isYUpInNDC() const = 0; @@ -228,7 +228,7 @@ private: QBitArray resUpdPoolMap; QSet resources; QSet pendingDeleteResources; - QVector cleanupCallbacks; + QList cleanupCallbacks; friend class QRhi; friend class QRhiResourceUpdateBatchPrivate; @@ -335,7 +335,7 @@ public: // In the backend this can then end up, where applicable, as a // single, batched copy operation with only one set of barriers. // This helps when doing for example glyph cache fills. - QVector subresDesc[QRhi::MAX_LAYERS][QRhi::MAX_LEVELS]; + QList subresDesc[QRhi::MAX_LAYERS][QRhi::MAX_LEVELS]; QRhiTexture *src; QRhiTextureCopyDescription desc; QRhiReadbackDescription rb; -- cgit v1.2.3