Qt4: do not create pref tooltip if there is no text
By the way, it seems like we should always use NULL rather than "" for longtext. Not only this avoids the recurrent gettext("") translation problem, but an empty tool tip makes no sense. There should be no tool tip at all if there is no text.
Showing with 76 additions and 39 deletions