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

List:       kde-commits
Subject:    KDE/kdelibs/khtml (silent)
From:       Urs Wolfer <uwolfer () kde ! org>
Date:       2008-03-12 22:16:51
Message-ID: 1205360211.558325.9789.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 784970 by uwolfer:

SVN_SILENT
Pino is right, KIcon does not take a path.

 M  +2 -2      khtml_ext.cpp  


--- trunk/KDE/kdelibs/khtml/khtml_ext.cpp #784969:784970
@@ -466,7 +466,7 @@
             if ( iconPath.isEmpty() )
                 icon = KIcon("edit-find");
             else
-                icon = KIcon( iconPath );
+                icon = KIcon( QPixmap( iconPath ) );
             name = service->name();
         }
         else
@@ -507,7 +507,7 @@
                     if ( iconPath.isEmpty() )
                         icon = KIcon("edit-find");
                     else
-                        icon = KIcon( iconPath );
+                        icon = KIcon( QPixmap( iconPath ) );
                     name = service->name();
 
                     KAction *action = new KAction( name, this  );
[prev in list] [next in list] [prev in thread] [next in thread] 

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