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

List:       kde-commits
Subject:    kdelibs/kio/misc
From:       Will Stephenson <lists () stevello ! free-online ! co ! uk>
Date:       2003-11-10 12:19:25
[Download RAW message or body]

CVS commit by wstephens: 

Load system tray icons the canonical way, at the right size.


  M +1 -2      uiserver.cpp   1.104


--- kdelibs/kio/misc/uiserver.cpp  #1.103:1.104
@@ -34,5 +34,4 @@
 #include <kglobal.h>
 #include <klocale.h>
-#include <kiconloader.h>
 #include <dcopclient.h>
 #include <kstatusbar.h>
@@ -99,5 +98,5 @@ class UIServerSystemTray:public KSystemT
          pop->insertItem(i18n("Settings..."), uis, SLOT(slotConfigure()));
          pop->insertItem(i18n("Remove"), uis, SLOT(slotRemoveSystemTrayIcon()));
-         setPixmap(SmallIcon("filesave"));
+         setPixmap(loadIcon("filesave"));
          //actionCollection()->action("file_quit")->setEnabled(true);
          KStdAction::quit(uis, SLOT(slotQuit()), actionCollection());


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

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