[PATCH] KXMLGUIFactory/KActionCollection - Fix resetting shortcuts to default value

Michael Jansen kde at michael-jansen.biz
Tue Jul 22 18:06:22 BST 2008

> The attached patch adds support for a "default" value for the 'shortcut'
> attribute which causes the KAction's ActiveShortcut to be set to the
> value of the DefaultShortcut.

Why not set the default shortcut for each action without the shortcut / 
globalShortcuts attribute? This should lead to the same correct behavior.


> Regards,
> Robert.

Michael Jansen


More information about the kde-core-devel mailing list