Skip to content
Commit 49928cdb authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Use QIcon instead of QPixmap where possible

This avoids having to specify a size in some places.

There is a behavior change. The code clearly intends to fall back to
specific icons when the requested name is not available. However this
does not work since the first call to QIcon::fromTheme will always give
a non-null pixmap since it has a builtin fallback. The new code
correctly makes use of the fallback icons.
parent 292b2bd2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment