summaryrefslogtreecommitdiffstats
path: root/kicker
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-11-17 02:29:49 +0100
committerSlávek Banko <[email protected]>2013-11-17 02:29:49 +0100
commit66eb95504294c475eda706c8e3f6701c4cdc640e (patch)
tree8e160991ee94826e6aa94bb60aa2d27d189cf8e5 /kicker
parent7a8b0da20f90349c9e989a86ad58f347910e0cf2 (diff)
downloadtdebase-66eb95504294c475eda706c8e3f6701c4cdc640e.tar.gz
tdebase-66eb95504294c475eda706c8e3f6701c4cdc640e.zip
Cleanup TDELocale warning in kicker
Diffstat (limited to 'kicker')
-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()));
+ }
}
}