use a KIcon here to get the proper loading

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=698791
This commit is contained in:
Aaron J. Seigo 2007-08-11 03:30:54 +00:00
parent b80d526229
commit b764db9438

View File

@ -39,6 +39,7 @@
#include <KImageEffect>
#include <KIconEffect>
#include <KIconLoader>
#include <KIcon>
#include <K3Icon>
#include <KUrl>
#include <KRun>
@ -883,7 +884,7 @@ void Icon::setIcon(const QString& icon)
return;
}
setIcon(QIcon(icon));
setIcon(KIcon(icon));
}
void Icon::setIcon(const QIcon& icon)