lxqt / libqtxdg

Qt implementation of freedesktop.org xdg specs
https://lxqt.github.io
GNU Lesser General Public License v2.1
72 stars 35 forks source link

xdgiconloader: Calling actualSize() before pixmap() would return 0x0. #207

Closed jlindgren90 closed 4 years ago

jlindgren90 commented 4 years ago

The base pixmap is lazily loaded. If actualSize() is called before pixmap(), it needs to load the pixmap to get the correct size.

This fixes missing icons in the action view on lxqt-panel first load.

"Before" screenshot (note missing icon for Asunder):

image