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

List:       kde-commits
Subject:    Re: kdelibs/kutils
From:       Antonio Larrosa =?iso-8859-1?q?Jim=E9nez?= <larrosa () kde ! org>
Date:       2003-08-29 12:16:52
[Download RAW message or body]

El Friday 29 August 2003 13:22, Nadeem Hasan escribió:
> Quoting Matthias Kretz <kretz@kde.org>:
> > CVS commit by mkretz:
> > +                item->setPixmap( 0, KGlobal::iconLoader()->loadIcon(
> > ( *it )->icon(), KIcon::Small ) );
>
> item->setPixmap(0, SmallIcon((*it)->icon()));

Yes, and depending on what is it used for (I didn't check), maybe
item->setPixmap(0, SmallIcon((*it)->icon(), IconSize(KIcon::Small)));
is needed to force all the icons be of the same size.

Greetings,

--
Antonio Larrosa Jimenez
KDE developer - larrosa@kde.org
http://developer.kde.org/~larrosa/
With a rubber duck,one's never alone --The Hitchhiker's Guide to the Galaxy

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

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