we don't want acelerator markers in tooltips
svn path=/trunk/KDE/kdelibs/; revision=1097929
This commit is contained in:
parent
514541cb6c
commit
3408ebe777
@ -840,7 +840,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