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