<table><tr><td style="">poboiko created this revision.<br />poboiko added reviewers: Frameworks, dvratil.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />poboiko 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/D15851">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>If I have 4 contacts, i.e. <tt style="background: #ebebeb; font-size: 13px;">{A,B,C,D}</tt>, then merge <tt style="background: #ebebeb; font-size: 13px;">{A,B}->1</tt> and <tt style="background: #ebebeb; font-size: 13px;">{C,D}->2</tt>, and then merge <tt style="background: #ebebeb; font-size: 13px;">{1,2}->1</tt>,<br />
inside the model I get only signals that contacts <tt style="background: #ebebeb; font-size: 13px;">{C,D}</tt> were removed from person <tt style="background: #ebebeb; font-size: 13px;">2</tt>, ending up with 3 contacts in the model <tt style="background: #ebebeb; font-size: 13px;">{1,C,D}</tt>, instead of just <tt style="background: #ebebeb; font-size: 13px;">1</tt>.<br />
Apparently, the line was simply missing.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>With this patch, merging works as expected</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R307 KPeople</div></div></div><br /><div><strong>BRANCH</strong><div><div>forgotten-signal (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15851">https://phabricator.kde.org/D15851</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/personmanager.cpp</div></div></div><br /><div><strong>To: </strong>poboiko, Frameworks, dvratil<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>