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

List:       kde-commits
Subject:    kdepim/knotes
From:       Antonio Larrosa Jimenez <larrosa () kde ! org>
Date:       2003-08-27 21:11:39
[Download RAW message or body]

CVS commit by antlarr: 

Load the icon correctly please


  M +2 -1      knotesapp.cpp   1.63


--- kdepim/knotes/knotesapp.cpp  #1.62:1.63
@@ -26,4 +26,5 @@
 #include <kaction.h>
 #include <kxmlguifactory.h>
+#include <ksystemtray.h>
 #include <klocale.h>
 #include <kiconloader.h>
@@ -68,5 +69,5 @@ KNotesApp::KNotesApp()
     KWin::setSystemTrayWindowFor( winId(), qt_xrootwin() );
     setBackgroundMode( X11ParentRelative );
-    setPixmap( SmallIcon( "knotes" ) );
+    setPixmap( KSystemTray::loadIcon( "knotes" ) );
 
     // create the GUI...


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

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