On Montag, 7. März 2016 14:45:13 CEST, René J.V. wrote:
On Monday March 07 2016 12:41:52 Jaroslaw Staniek wrote:
I am trying to use app-defined icons through QIcon::fromTheme() in Kexi.

That sounds inherently wrong unless the application adds icons to specific themes. Icons that are specific to an application are (almost) by definition not part of a theme, so expecting QIcon::fromTheme() to return them seems a bit of a misunderstanding.


Because it's what firefox et al. are doing and it's causing bugreports.
There's no reason to not assume the theme might provide a custom variant of your 
"app-defined" icon and you should resort from a failing ::fromTheme() to your 
local provision.

Cheers,
Thomas

Reply via email to