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