WebShortcuts Runner: Refactor foreach, remove unnecessary method

Authored by alex on Mar 24 2020, 8:30 AM.

Description

WebShortcuts Runner: Refactor foreach, remove unnecessary method

Summary:
The foreach has been refactored and the loadSyntaxes method gets now called directly.
Additionally the cached (failed) key/provider can be reused for multiple sessions and is only cleared when the config changes.

Test Plan: Should compile and open urls as before.

Reviewers: ngraham, broulik, meven, apol

Reviewed By: broulik, meven

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D27566

Details

Committed
alexMar 24 2020, 8:35 AM
Reviewer
broulik
Differential Revision
D27566: WebShortcuts Runner: Refactor foreach, remove unnecessary method
Parents
R120:5cde65764b41: Merge branch 'Plasma/5.18'
Branches
Unknown
Tags
Unknown