D10668: Fix PowerDevil shortcuts migration

Fabian Vogt noreply at phabricator.kde.org
Tue Feb 20 09:34:53 UTC 2018


fvogt added inline comments.

INLINE COMMENTS

> davidedmundson wrote in powerdevilapp.cpp:177
> You'd think so, but no.
> 
> setShortcut(QAction, sequence, KGlobalAccel::NoAutoloading)   
> would do exactly that
> 
> setShortcut(QAction, sequence, KGlobalAccel::Autoloading)   
> (which this defaults to)
> will make KGlobalAccel load whatever it has stored already in its config file.

Then use ::Autoloading explicitly?

REPOSITORY
  R122 Powerdevil

REVISION DETAIL
  https://phabricator.kde.org/D10668

To: davidedmundson, #plasma
Cc: fvogt, aacid, cfeck, plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180220/4476efc1/attachment.html>


More information about the Plasma-devel mailing list