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

List:       kde-devel
Subject:    Re: [SOLVED - kinda] Re: Correct way of obtaining an icon
From:       Oszkar Ambrus <oszkar.ambrus () deri ! org>
Date:       2009-10-23 10:09:12
Message-ID: 4AE180C8.6070909 () deri ! org
[Download RAW message or body]

Thomas Olsen wrote:
> Now I just tried to do:
>
>     self.collapse_button.nativeWidget().setIcon(KIcon("arrow-down"))
>
> so it must be a bug in the Plasma lib.
>   
I meant to suggest this, but if you look at pushbutton.cpp in Plasma [1],
setIcon does the exact same thing (nativeWidget().setIcon).

So it's weird...


[1] 
http://api.kde.org/4.x-api/kdelibs-apidocs/plasma/html/pushbutton_8cpp_source.html#l00264

-- 
Oszkár Ambrus

"Whoever believes in the Son [Jesus Christ] has eternal life" 
(John 3:36)

Masters Student, Digital Enterprise Research Institute, NUIG
[http://www.deri.ie] 
 

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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