D25086: [WIP] Port to KGlobalAccel

Laurent Montel noreply at phabricator.kde.org
Thu Oct 31 13:08:58 GMT 2019


mlaurent added inline comments.

INLINE COMMENTS

> globalaccel.cpp:55
> +    const QList<QKeySequence> shortcut = KGlobalAccel::self()->globalShortcut(desktopFile, QStringLiteral("_launch"));
> +    if (shortcut.size() > 0) {
> +        return shortcut[0];

if (!shortcut.isEmpty()) {

> menuinfo.cpp:180
>      if (s_deletedApps) {
>  #ifdef WITH_HOTKEYS
>          // Remove hotkeys for applications that have been deleted

you can remove this ifdef

REPOSITORY
  R103 KMenu Editor

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

To: davidre, #plasma, davidedmundson, mlaurent
Cc: mlaurent, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191031/08e8d8c4/attachment-0001.html>


More information about the Plasma-devel mailing list