the proper text to use here is action->toolTip()
CCMAIL:thomas.luebking@web.de svn path=/trunk/KDE/kdelibs/; revision=1097986
This commit is contained in:
parent
3408ebe777
commit
8c2dc5036a
@ -840,7 +840,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