Somewhat guard failing to load backend
ClosedPublic

Authored by davidedmundson on Jan 24 2019, 10:22 PM.

Details

Summary

BackendManager::loadBackendPlugin can return a nullptr.
We currently use that pointer regardless.

The caller of this method ConfigOperationPrivate::loadBackend does
handle a nullptr and shows a relevant warning message.

BUG: 403568

Test Plan

Not done

Diff Detail

Repository
R110 KScreen Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
Restricted Application added a project: Plasma. · View Herald TranscriptJan 24 2019, 10:22 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson requested review of this revision.Jan 24 2019, 10:22 PM
broulik accepted this revision.Jan 25 2019, 7:59 AM
This revision is now accepted and ready to land.Jan 25 2019, 7:59 AM
This revision was automatically updated to reflect the committed changes.