[Shell Corona] Don't create ScriptingEngine if there are no update scripts

Authored by broulik on Aug 11 2018, 9:40 PM.

Description

[Shell Corona] Don't create ScriptingEngine if there are no update scripts

It takes almost 30ms here to create the engine and then we usually don't end up using
it as all update scripts had already been processed in the past.

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

Details

Committed
broulikAug 11 2018, 9:40 PM
Differential Revision
D14751: [Shell Corona] Don't create ScriptingEngine if there are no update scripts
Parents
R120:976bc7004edf: Merge branch 'Plasma/5.13'
Branches
Unknown
Tags
Unknown