KAction Warning
laurent Montel
montel at kde.org
Tue Aug 5 08:02:07 UTC 2014
Le mardi 5 août 2014 08:19:35 David Faure a écrit :
> 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)
s/KAction::setDefaultShortcut/KActionCollection::setDefaultShortcut/ :)
--
Laurent Montel | laurent.montel at kdab.com | KDE/Qt Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.fr
More information about the Kde-frameworks-devel
mailing list