QCocoaFileIconEngine: Add icon size 256

Change-Id: Ib36025f802404f74f6ce5494f3858dfe0e283004
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
This commit is contained in:
Friedemann Kleint 2016-08-05 09:05:29 +02:00
parent 5264ddf1e0
commit 02a03e52f7

View File

@ -287,7 +287,8 @@ public:
const qreal devicePixelRatio = qGuiApp->devicePixelRatio(); const qreal devicePixelRatio = qGuiApp->devicePixelRatio();
const int sizes[] = { const int sizes[] = {
qRound(16 * devicePixelRatio), qRound(32 * devicePixelRatio), qRound(16 * devicePixelRatio), qRound(32 * devicePixelRatio),
qRound(64 * devicePixelRatio), qRound(128 * devicePixelRatio) qRound(64 * devicePixelRatio), qRound(128 * devicePixelRatio),
qRound(256 * devicePixelRatio)
}; };
return QAbstractFileIconEngine::toSizeList(sizes, sizes + sizeof(sizes) / sizeof(sizes[0])); return QAbstractFileIconEngine::toSizeList(sizes, sizes + sizeof(sizes) / sizeof(sizes[0]));
} }