Don't transform the icon in pixmap. Make ToolTipContent handle this.

svn path=/trunk/KDE/kdelibs/; revision=883009
This commit is contained in:
Michel Hermier 2008-11-11 21:36:28 +00:00
parent 69a3b53112
commit 5d76960d4d

View File

@ -300,7 +300,7 @@ void Applet::setFailedToLaunch(bool failed, const QString &reason)
Plasma::ToolTipManager::self()->registerWidget(failureIcon);
Plasma::ToolTipContent data(i18n("Unable to load the widget"), reason,
KIcon("dialog-error").pixmap(IconSize(KIconLoader::Desktop)));
KIcon("dialog-error"));
Plasma::ToolTipManager::self()->setContent(failureIcon, data);
setLayout(failureLayout);