<table><tr><td style="">aacid created this revision.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: kde-frameworks-devel.<br />aacid 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/D13695">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Even when calling setClearButtonEnabled instead of setClearButtonShown</p>
<p>Recently KLineEdit::setClearButtonShown got deprecated, but that meant<br />
that silently &KLineEdit::clearButtonClicked would not be emitted.</p>
<p>This patch corrects it. It uses quite a bit of internal magic, but<br />
the old one was already using some so i think it's ok, given it even<br />
comes with an autotest that will break when Qt changes its internals</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Test passes :)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R284 KCompletion</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/D13695">https://phabricator.kde.org/D13695</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/klineedit_unittest.cpp<br />
src/klineedit.cpp<br />
tests/klineedittest.cpp</div></div></div><br /><div><strong>To: </strong>aacid<br /><strong>Cc: </strong>davidedmundson, kde-frameworks-devel, broulik, michaelh, ngraham, bruns<br /></div>