<table><tr><td style="">broulik created this revision.<br />broulik added reviewers: lesliezhai, jriddell, Plasma.<br />broulik set the repository for this revision to R467 K3b.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</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/D4571" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>In <a href="https://phabricator.kde.org/R467:cf01ff3159dbddb97e0e67246dee16441a64984a" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">cf01ff3159dbddb97e0e67246dee16441a64984a</a> this broke by randomly using QSharedPointer in the wrong way.<br />
There was only this one item being referenced, once it fell out of scope it got deleted, and then by the time the event loop returned and the queued invocation was processed, the object was already gone.</p>
<p>Just use WA_DeleteOnClose which will clean up nicely once we're done.</p>
<p>BUG: 375016</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>FIXED-IN: Whatever stable branch and stuff this is in, I'll figure it out.</p>
<p>I can now add files to K3B projects again.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R467 K3b</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4571" rel="noreferrer">https://phabricator.kde.org/D4571</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/projects/k3bdataurladdingdialog.cpp</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>broulik, lesliezhai, jriddell, Plasma<br /><strong>Cc: </strong>plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>