There's no QVector anymore, QList is the QVector in Qt6

This commit is contained in:
Laurent Montel
2023-10-20 07:10:28 +02:00
parent 524711f633
commit 7864ad4bc6
8 changed files with 25 additions and 25 deletions

View File

@ -13,7 +13,7 @@
#include <QImage>
#include <QImageIOHandler>
// QVector uses some extra space for stuff, hence the 32 here suggested by Thiago Macieira
// QList uses some extra space for stuff, hence the 32 here suggested by Thiago Macieira
static constexpr int kMaxQVectorSize = std::numeric_limits<int>::max() - 32;
// On Qt 6 to make the plugins fail to allocate if the image size is greater than QImageReader::allocationLimit()