Correctly save shortcuts of new Items

Authored by davidre on Jan 19 2020, 1:27 PM.

Description

Correctly save shortcuts of new Items

Summary:
When saving first all changes are saved before updating syscoca. This lead to a
crash because serviceByStorageId failed. We can just change the API to directly to
take KService::Ptr's.
BUG: 415699
FIXED-IN: 5.18.0

Test Plan: Correctly created a new item and set a shortcut for it

Reviewers: Plasma, rikmills, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
davidreJan 20 2020, 2:12 PM
Reviewer
Plasma
Differential Revision
D26765: Correctly save shortcuts of new Items
Parents
R103:4ae11e6f793e: Update version number for 5.17.90 GIT_SILENT
Branches
Unknown
Tags
Unknown