Home GnuPG

Avoid needlessly converting a QIcon to a pixmap

Description

Avoid needlessly converting a QIcon to a pixmap

We can pass a QIcon directly here, which is better since it makes the widget responsible for picking the correct icon size

Details

Provenance
nicolasfellaAuthored on Apr 24 2021, 9:14 PM
Parents
rKLEOPATRA488a31ae77d3: Remove wrong include
Branches
Unknown
Tags
Unknown
References
refs/backups/work-branch-work/qicon-1619509515

Event Timeline

Nicolas Fella <nicolas.fella@gmx.de> committed rKLEOPATRAf740c929e7da: Avoid needlessly converting a QIcon to a pixmap (authored by Nicolas Fella <nicolas.fella@gmx.de>).Apr 24 2021, 9:14 PM