From 30f293c01fdde41707f62fbd7c0ab515fac8c360 Mon Sep 17 00:00:00 2001 From: Michael Jansen Date: Mon, 29 Sep 2008 18:42:45 +0000 Subject: [PATCH] Use caption instead of windowId. svn path=/trunk/KDE/kdebase/workspace/; revision=865997 --- useractions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/useractions.cpp b/useractions.cpp index 51aedde899..d0462ae3d2 100644 --- a/useractions.cpp +++ b/useractions.cpp @@ -417,7 +417,7 @@ void Workspace::clientShortcutUpdated( Client* c ) if( action == NULL ) // new shortcut { action = client_keys->addAction(QString("session:clientShortcut %1").arg(key)); - action->setText(i18n("Activate Window (%1)", key)); // TODO: Add window title if possible? + action->setText(i18n("Activate Window (%1)", c->caption())); connect( action, SIGNAL(triggered(bool)), c, SLOT(shortcutActivated())); } // no autoloading, since it's configured explicitly here and is not meant to be reused