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

List:       kde-commits
Subject:    kdemultimedia/noatun/modules/systray
From:       Antonio Larrosa Jimenez <larrosa () kde ! org>
Date:       2003-08-27 20:27:36
[Download RAW message or body]

CVS commit by antlarr: 

fixed the icons for the system tray


  M +2 -2      systray.cpp   1.33


--- kdemultimedia/noatun/modules/systray/systray.cpp  #1.32:1.33
@@ -352,9 +352,9 @@ void NoatunSystray::setPassivePopup(bool
 QPixmap *NoatunSystray::renderIcon(const QString& baseIcon, const QString &overlayIcon) const
 {
-        QPixmap *base = new QPixmap(SmallIcon(baseIcon));
+        QPixmap *base = new QPixmap(KSystemTray::loadIcon(baseIcon));
 
         if(!(overlayIcon.isNull())) // otherwise leave the base as-is
         {
-                QPixmap overlay = SmallIcon(overlayIcon);
+                QPixmap overlay = KSystemTray::loadIcon(overlayIcon);
                 if(!overlay.isNull())
                 {


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

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