<table><tr><td style="">elvisangelaccio created this revision.<br />elvisangelaccio added a reviewer: rthomsen.<br />Restricted Application added subscribers: Ark, kde-utils-devel.<br />Restricted Application added a project: Ark.
</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/D8718" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p><tt style="background: #ebebeb; font-size: 13px;">CreateJob::doWork()</tt> might be executed in another thread (if we are<br />
using the libarchive or libzip plugin), so any QObject created there<br />
cannot use <tt style="background: #ebebeb; font-size: 13px;">this</tt> as parent (since the CreateJob has been created<br />
in the main thread).</p>
<p>By initializing the destination Entry when CreateJob is created,<br />
we ensure everything happens in the main thread.</p>
<p>Fixes <a href="https://phabricator.kde.org/T7206" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">T7206</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Create a tar archive from dolphin and check whether we get the warning in <a href="https://phabricator.kde.org/T7206" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">T7206</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R36 Ark</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8718" rel="noreferrer">https://phabricator.kde.org/D8718</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kerfuffle/jobs.cpp<br />
kerfuffle/jobs.h</div></div></div><br /><div><strong>To: </strong>elvisangelaccio, rthomsen<br /><strong>Cc: </strong>kde-utils-devel, Ark, tctara<br /></div>