[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kio/kfile
From: Stephan Binner <binner () kde ! org>
Date: 2005-02-20 22:32:03
Message-ID: 20050220223203.AA1391BBBD () office ! kde ! org
[Download RAW message or body]
CVS commit by binner:
Use iconset for better looking disabled icon button
M +4 -4 kicondialog.cpp 1.47
--- kdelibs/kio/kfile/kicondialog.cpp #1.46:1.47
@@ -670,5 +670,5 @@ void KIconButton::setIcon(const QString&
{
mIcon = icon;
- setPixmap(mpLoader->loadIcon(mIcon, mGroup, d->iconSize));
+ setIconSet(mpLoader->loadIconSet(mIcon, mGroup, d->iconSize));
if (!mpDialog)
@@ -685,5 +685,5 @@ void KIconButton::resetIcon()
{
mIcon = QString::null;
- setPixmap(QPixmap());
+ setIconSet(QIconSet());
}
@@ -705,6 +705,6 @@ void KIconButton::newIconName(const QStr
return;
- QPixmap pm = mpLoader->loadIcon(name, mGroup, d->iconSize);
- setPixmap(pm);
+ QIconSet iconset = mpLoader->loadIconSet(name, mGroup, d->iconSize);
+ setIconSet(iconset);
mIcon = name;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic