<table><tr><td style="">dfaure created this revision.<br />dfaure added reviewers: dvratil, sengels.<br />Herald added a project: KDE PIM.<br />dfaure 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/D18558">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Calling readAll() after close() is just nonsense, QIODevice checks<br />
the open status before reading, and warns (and returns -1) if closed.</p>
<p>False warnings make people start thinking in the wrong direction when<br />
debugging an actual issue.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p><tt style="background: #ebebeb; font-size: 13px;">ctest --verbose -R sqlite-tagtest</tt> no longer has all these warnings.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R165 Akonadi </div></div></div><br /><div><strong>BRANCH</strong><div><div>2019_qiodevice_read (branched from Applications/18.12)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18558">https://phabricator.kde.org/D18558</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/core/connection.cpp</div></div></div><br /><div><strong>To: </strong>dfaure, dvratil, sengels<br /><strong>Cc: </strong>kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>