From 3408ebe7776560b0904e3bc4e05841f5241852ae Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 2 Mar 2010 13:02:51 +0000 Subject: [PATCH] we don't want acelerator markers in tooltips svn path=/trunk/KDE/kdelibs/; revision=1097929 --- widgets/iconwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/iconwidget.cpp b/widgets/iconwidget.cpp index e914a50b0..9af76e2a2 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(action->text()); + q->setToolTip(KGlobal::locale()->removeAcceleratorMarker(action->text())); } const QString elided = elidedText(layout, option, constraints); return layoutText(layout, elided, constraints.width());