summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kicker/kicker/ui/service_mnu.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/kicker/kicker/ui/service_mnu.cpp b/kicker/kicker/ui/service_mnu.cpp
index ed8b4edda..c85c71312 100644
--- a/kicker/kicker/ui/service_mnu.cpp
+++ b/kicker/kicker/ui/service_mnu.cpp
@@ -1020,7 +1020,9 @@ void PanelServiceMenu::slotSetTooltip(int id)
if (text.isEmpty() && !s->comment().isEmpty()) {
text = s->comment();
}
- TQToolTip::add(this, i18n(text.utf8()));
+ if (!text.isEmpty()) {
+ TQToolTip::add(this, i18n(text.utf8()));
+ }
}
}