<table><tr><td style="">graesslin created this revision.<br />graesslin added a reviewer: Plasma.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />graesslin requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D16945">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>If the lock screen package is not available m_mainQmlPath is an empty<br />
URL. Thus view->setSource won't do anything and the status won't change<br />
to Error. Due to that the fallback was not activated when the lnf<br />
package is missing.</p>

<p>This change also checks whether said variable is empty.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>run kscreenlocker_greet in testing mode with manipulated XDG_DATA_DIRS</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R133 KScreenLocker</div></div></div><br /><div><strong>BRANCH</strong><div><div>fix-fallback</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16945">https://phabricator.kde.org/D16945</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>greeter/greeterapp.cpp</div></div></div><br /><div><strong>To: </strong>graesslin, Plasma<br /><strong>Cc: </strong>plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>