D16945: Fix fallback to built-in ui
Martin Flöser
noreply at phabricator.kde.org
Sat Nov 17 09:37:48 GMT 2018
graesslin created this revision.
graesslin added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
graesslin requested review of this revision.
REVISION 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
REPOSITORY
R133 KScreenLocker
BRANCH
fix-fallback
REVISION DETAIL
https://phabricator.kde.org/D16945
AFFECTED FILES
greeter/greeterapp.cpp
To: graesslin, #plasma
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20181117/66c32324/attachment-0001.html>
More information about the Plasma-devel
mailing list