Browse Source

Merge pull request #2027 from pmzqla/system_icons

Increase maximum size of system icons
adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
d02984cbed
  1. 2
      src/iconprovider.cpp

2
src/iconprovider.cpp

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

Loading…
Cancel
Save