[prev in list] [next in list] [prev in thread] [next in thread]
List: amarok-devel
Subject: Re: Fwd: Getting the Amarok system tray icon image
From: Kevin Funk <krf () gmx ! de>
Date: 2012-04-13 13:39:16
Message-ID: 2896855.IcJssNI92C () kerberos
[Download RAW message or body]
On Friday 13 April 2012, 15:30, Myriam Schweingruber wrote:
> FYI, this belongs to the devel list.
>
> Regards, Myriam
>
>
> ---------- Forwarded message ----------
> From: Ravi <ra.ravi.rav@gmail.com>
> Date: Wed, Apr 11, 2012 at 20:31
> Subject: Getting the Amarok system tray icon image
> To: amarok@kde.org
>
>
> Hi,
>
> When I try to get system tray icon in Amarok using the iconPixmap() in
> Amarok::TrayIcon I get a zero sized icon. An idea whay this is
> happening?
>
> http://paste.kde.org/448160/
>
> Thanks.
Hey,
the question is: *when* do you call TrayIcon::iconPixmap()?
iconPixmap() belongs to KStatusNotifierItem (the base class) and is likely
invalid until a pixmap has been set by any of the
KStatusNotifierItem::setPixmap* functions.
Also see [1].
Greets
[1] http://api.kde.org/4.5-api/kdelibs-
apidocs/kdeui/html/classKStatusNotifierItem.html#a23632af9e691a0fa173404626998aeb
--
Kevin Funk
_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic