Code review comment for lp:~larsu/ubuntu-ui-toolkit/add-unity-theme-icon-provider

Revision history for this message
Nick Dedekind (nick-dedekind) wrote :

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());
}

review: Needs Fixing

« Back to merge proposal