[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: RCC for icons - update: Re: Icons installed by apps
From:       Thomas_Lübking <thomas.luebking () gmail ! com>
Date:       2016-03-08 8:58:25
Message-ID: a4b7c202-0de8-4205-b22e-fdf429a03cf9 () gmail ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic