<table><tr><td style="">vkorneev created this revision.<br />Herald added a project: KDevelop.<br />Herald added a subscriber: kdevelop-devel.<br />vkorneev 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/D15241">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The bug was unfortunately introduced in <a href="https://phabricator.kde.org/D14931" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: line-through;">D14931</a> by me - two shared pointers<br />
were created from the same raw pointer. Eliminated it by using QSharedPointer<br />
as a return value from view creation helper lambda.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>The bug can be triggered only in IOutputView:OneView widget mode, which is (as<br />
far as I can see) currently neither used, nor properly tested. Planning to change<br />
this in following patches.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>BRANCH</strong><div><div>fix_outputwidget_bug (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15241">https://phabricator.kde.org/D15241</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>plugins/standardoutputview/outputwidget.cpp</div></div></div><br /><div><strong>To: </strong>vkorneev<br /><strong>Cc: </strong>kdevelop-devel, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>