mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-02-17 22:43:02 -05:00
There's no QVector anymore, QList is the QVector in Qt6
This commit is contained in:
@ -383,7 +383,7 @@ bool ANIHandler::ensureScanned() const
|
||||
|
||||
// TODO should we check that the number of rate entries matches nSteps?
|
||||
auto *dataPtr = data.data();
|
||||
QVector<int> list;
|
||||
QList<int> list;
|
||||
for (int i = 0; i < data.size(); i += sizeof(quint32_le)) {
|
||||
const auto entry = *(reinterpret_cast<const quint32_le *>(dataPtr + i));
|
||||
list.append(entry);
|
||||
|
||||
Reference in New Issue
Block a user