aacid added inline comments.

INLINE COMMENTS

> powerdevilapp.cpp:177
> +            KGlobalAccel::self()->setShortcut(&oldAction, 
> QList<QKeySequence>());
> +            auto shortcuts = KGlobalAccel::self()->shortcut(&oldAction);
> +            KGlobalAccel::self()->removeAllShortcuts(&oldAction);

Won't this return QList<QKeySequence>() since you've set it on the line just 
before?

REPOSITORY
  R122 Powerdevil

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

To: davidedmundson, #plasma
Cc: aacid, cfeck, plasma-devel, ZrenBot, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart

Reply via email to