<table><tr><td style="">buschinski created this revision.<br />Restricted Application added a project: KDevelop.<br />Restricted Application added a subscriber: kdevelop-devel.<br />buschinski 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/D14791">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This Patch fixes <a href="https://bugs.kde.org/show_bug.cgi?id=396347" class="remarkup-link" target="_blank" rel="noreferrer">https://bugs.kde.org/show_bug.cgi?id=396347</a> .<br />
Previously "nodesRemoved" included the begin&end notification for removing rows, without removing any in between.<br />
The patch changes the logic to correctly announce the begin before removing rows and the end after the rows have been removed.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">build Qt 5.11.1 with debug&assert enabled</li>
<li class="remarkup-list-item">recompile kdevelop against this version of Qt</li>
<li class="remarkup-list-item">start kdevelop</li>
<li class="remarkup-list-item">open the Classes Toolview</li>
<li class="remarkup-list-item">close kdevelop</li>
</ul>
<p>-> crash/assert</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14791">https://phabricator.kde.org/D14791</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kdevplatform/language/classmodel/classmodel.cpp<br />
kdevplatform/language/classmodel/classmodel.h<br />
kdevplatform/language/classmodel/classmodelnode.cpp</div></div></div><br /><div><strong>To: </strong>buschinski<br /><strong>Cc: </strong>kdevelop-devel, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>