QCocoaFileIconEngine: Add icon size 256
Change-Id: Ib36025f802404f74f6ce5494f3858dfe0e283004 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
This commit is contained in:
parent
5264ddf1e0
commit
02a03e52f7
@ -287,7 +287,8 @@ public:
|
||||
const qreal devicePixelRatio = qGuiApp->devicePixelRatio();
|
||||
const int sizes[] = {
|
||||
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]));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user