summaryrefslogtreecommitdiffstats
path: root/kicker/applets/launcher
diff options
context:
space:
mode:
Diffstat (limited to 'kicker/applets/launcher')
-rw-r--r--kicker/applets/launcher/quickbutton.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/kicker/applets/launcher/quickbutton.cpp b/kicker/applets/launcher/quickbutton.cpp
index 996d8abe3..0c19e5326 100644
--- a/kicker/applets/launcher/quickbutton.cpp
+++ b/kicker/applets/launcher/quickbutton.cpp
@@ -343,8 +343,12 @@ void QuickButton::updateKickerTip(KickerTip::Data &data)
{
data.subtext = data.message;
}
- data.icon = KMimeType::pixmapForURL(_qurl->kurl(), 0,
- KIcon::Panel, KIcon::SizeHuge, KIcon::DefaultState);
+ if (_qurl->url() == "SPECIAL_BUTTON__SHOW_DESKTOP") {
+ data.icon = KGlobal::iconLoader()->loadIcon("desktop", KIcon::Panel, KIcon::SizeHuge, KIcon::DefaultState);
+ }
+ else {
+ data.icon = KMimeType::pixmapForURL(_qurl->kurl(), 0, KIcon::Panel, KIcon::SizeHuge, KIcon::DefaultState);
+ }
}
void QuickButton::setPopupDirection(KPanelApplet::Direction d)