[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.

Mike

> Regards,
> Robert.

-- 
Michael Jansen

http://www.michael-jansen.biz




More information about the kde-core-devel mailing list