backport use of action->toolTip()
svn path=/branches/KDE/4.4/kdelibs/; revision=1097987
This commit is contained in:
parent
dcd17cf56a
commit
c6033989ff
@ -795,7 +795,7 @@ QSizeF IconWidgetPrivate::layoutText(QTextLayout &layout, const QStyleOptionGrap
|
||||
|
||||
if (size.width() > constraints.width() || size.height() > constraints.height()) {
|
||||
if (action) {
|
||||
q->setToolTip(KGlobal::locale()->removeAcceleratorMarker(action->text()));
|
||||
q->setToolTip(action->toolTip());
|
||||
}
|
||||
const QString elided = elidedText(layout, option, constraints);
|
||||
return layoutText(layout, elided, constraints.width());
|
||||
|
Loading…
x
Reference in New Issue
Block a user