diff --git a/widgets/iconwidget.cpp b/widgets/iconwidget.cpp index 9af76e2a2..e4f871ae1 100644 --- a/widgets/iconwidget.cpp +++ b/widgets/iconwidget.cpp @@ -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());