1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-29 16:04:21 +00:00

Increase maximum size of system icons

System icons were limited to a size 24x24 pixels, while the embedded
icons are 32x32 pixels big.
This commit is contained in:
Gabriele 2014-10-12 17:49:52 +01:00
parent d27bff4df4
commit 616895b2c9

View File

@ -86,7 +86,7 @@ QIcon IconProvider::generateDifferentSizes(const QIcon& icon)
{
QIcon new_icon;
QList<QSize> required_sizes;
required_sizes << QSize(16, 16) << QSize(24, 24);
required_sizes << QSize(16, 16) << QSize(24, 24) << QSize(32, 32);
QList<QIcon::Mode> modes;
modes << QIcon::Normal << QIcon::Active << QIcon::Selected << QIcon::Disabled;
foreach (const QSize& size, required_sizes) {