summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Capriotti <p.capriotti@gmail.com>2011-07-17 19:35:09 (GMT)
committerPaolo Capriotti <p.capriotti@gmail.com>2011-07-17 20:31:55 (GMT)
commitd557db3e4585058aa0059e4fc887562a10a9afa7 (patch)
tree9d462897562856a2d563f54ba09cb815e7dccdf9
parent61472120a3a7186f48f227b5eb637be66e12805f (diff)
downloadkde-telepathy-contact-list-d557db3e4585058aa0059e4fc887562a10a9afa7.tar.gz
kde-telepathy-contact-list-d557db3e4585058aa0059e4fc887562a10a9afa7.tar.xz
Remove accelerators from presence action text before updating tooltip.
BUG: 276405 REVIEW: 101982
-rw-r--r--account-button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/account-button.cpp b/account-button.cpp
index 2ccda54..7763858 100644
--- a/account-button.cpp
+++ b/account-button.cpp
@@ -234,7 +234,7 @@ QString AccountButton::presenceDisplayString(const Tp::Presence &presence)
{
foreach (QAction *a, actions()) {
if (presence.status() == qVariantValue<Tp::Presence>(a->data()).status()) {
- return a->text();
+ return KGlobal::locale()->removeAcceleratorMarker(a->text());
}
}