Getting fuzzy icons. Please use available sizes if not provided.
QIcon themedIcon = QIcon::fromTheme(id); if (requestedSize.isValid()) { return themedIcon.pixmap(requestedSize); } else { return themedIcon.pixmap(themedIcon.availableSizes().last()); }
« Back to merge proposal
Getting fuzzy icons.
Please use available sizes if not provided.
QIcon themedIcon = QIcon:: fromTheme( id); isValid( )) { pixmap( requestedSize) ; pixmap( themedIcon. availableSizes( ).last( ));
if (requestedSize.
return themedIcon.
} else {
return themedIcon.
}