<table><tr><td style="">alex created this revision.<br />alex added reviewers: KNewStuff, ngraham, leinir.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />alex 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/D29455">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The isRemote check and the FIXMEs are removed, instead the result from the empty target check is properly handled.</p>

<p>The same check as in isRemote is done in the Installation::readConfig method (line 122).<br />
If this fails a warning is given and in the engine is an error emitted. This error gets shown in the GUI.<br />
Then there are no other checks needed.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Delete the line TargetDir from the dolphin servicemenu knsrc file.<br />
(Dolphin repository src/settings/services/servicemenu.knsrc).</p>

<p>Before:<br />
<a href="https://phabricator.kde.org/F8256199" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F8256199: Screenshot_20200423_202404.png</a><br />
After, an error message is shown:<br />
<a href="https://phabricator.kde.org/F8256197" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F8256197: Screenshot_20200423_202239.png</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R304 KNewStuff</div></div></div><br /><div><strong>BRANCH</strong><div><div>fix_isremote_stuff (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D29455">https://phabricator.kde.org/D29455</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/core/engine.cpp<br />
src/core/installation.cpp<br />
src/core/installation.h</div></div></div><br /><div><strong>To: </strong>alex, KNewStuff, ngraham, leinir<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns<br /></div>