KAction Warning

David Faure faure at kde.org
Tue Aug 5 06:19:35 UTC 2014


On Saturday 19 July 2014 23:57:15 Christoph Cullmann wrote:
> Hi,
> 
> perhaps that is a stupid question, but last time I read up in the docs, they
> didn't help me:
> 
> KatePart spits out a lot of:
> 
> kate(15138)/(default) KXMLGUIFactoryPrivate::saveDefaultActionProperties:
> Shortcut for KAction  "smart_newline" "Insert Smart Newline" set with
> QShortcut::setShortcut()! See KAction documentation. kate(15138)/(default)
> KXMLGUIFactoryPrivate::saveDefaultActionProperties: Shortcut for KAction 
> "tools_indent" "&Indent" set with QShortcut::setShortcut()! See KAction
> documentation. ...
> 
> How to fix that?

Warning improved in 
http://commits.kde.org/kxmlgui/11cb423c0de0090ea398efa5d1bccd2a39e97987

-> use KAction::setDefaultShortcut(s)

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list