Don't transform the icon in pixmap. Make ToolTipContent handle this.
svn path=/trunk/KDE/kdelibs/; revision=883009
This commit is contained in:
parent
69a3b53112
commit
5d76960d4d
@ -300,7 +300,7 @@ void Applet::setFailedToLaunch(bool failed, const QString &reason)
|
|||||||
|
|
||||||
Plasma::ToolTipManager::self()->registerWidget(failureIcon);
|
Plasma::ToolTipManager::self()->registerWidget(failureIcon);
|
||||||
Plasma::ToolTipContent data(i18n("Unable to load the widget"), reason,
|
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);
|
Plasma::ToolTipManager::self()->setContent(failureIcon, data);
|
||||||
|
|
||||||
setLayout(failureLayout);
|
setLayout(failureLayout);
|
||||||
|
Loading…
Reference in New Issue
Block a user