Use caption instead of windowId.
svn path=/trunk/KDE/kdebase/workspace/; revision=865997
This commit is contained in:
parent
e2598cbd22
commit
30f293c01f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue