Skip to content
Commit dfd02160 authored by Martin Flöser's avatar Martin Flöser
Browse files

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
parent 552932c8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment