From 8c2dc5036a03f174103ff2740a489b375b22e187 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 2 Mar 2010 15:27:51 +0000 Subject: [PATCH] the proper text to use here is action->toolTip() CCMAIL:thomas.luebking@web.de svn path=/trunk/KDE/kdelibs/; revision=1097986 --- widgets/iconwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());