Lazy guard for KServiceGroup::root() being null.

Authored by davidedmundson on Aug 11 2016, 3:52 PM.

Description

Lazy guard for KServiceGroup::root() being null.

Summary:
This will happen if KSycoca::ensureCacheValid fails. (which shouldn't
ever happen).
Hopefully it'll just call refresh later. In any case, we won't
crash.

BUG: 363339

Test Plan: None.

Reviewers: Plasma, mart

Reviewed By: mart

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
davidedmundsonAug 11 2016, 3:52 PM
Reviewer
mart
Differential Revision
D2341: Lazy guard for KServiceGroup::root() being null.
Parents
R120:bdcc79ccfc25: Merge branch 'Plasma/5.7'
Branches
Unknown
Tags
Unknown