Fix fallback to built-in ui

Authored by graesslin on Nov 17 2018, 9:35 AM.

Description

Fix fallback to built-in ui

Summary:
If the lock screen package is not available m_mainQmlPath is an empty
URL. Thus view->setSource won't do anything and the status won't change
to Error. Due to that the fallback was not activated when the lnf
package is missing.

This change also checks whether said variable is empty.

Test Plan: run kscreenlocker_greet in testing mode with manipulated XDG_DATA_DIRS

Reviewers: Plasma

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
graesslinJan 12 2019, 2:12 PM
Differential Revision
D16945: Fix fallback to built-in ui
Parents
R133:552932c8baab: Disable kcrash in greeter in same way as in KWin
Branches
Unknown
Tags
Unknown