<table><tr><td style="">mkoller created this revision.<br />mkoller added a reviewer: dfaure.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.
</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/D9249" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>KTcpSocket is a QIODevice, internally using a Qt socket - however it does not set the error string of itself when the internal socket signals some error condition.</p>
<p>The original problem I had with this was the PIM maildispatcher - in the lack of any error string - just showing an error number when notifying the user. But a "Failed to transport message. 3" does not really say much to the user.</p>
<p>Now at least I get "Failed to transport message. Host not found"</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>using maildispatcher sending mail to an unknown host</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9249" rel="noreferrer">https://phabricator.kde.org/D9249</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/core/ktcpsocket.cpp</div></div></div><br /><div><strong>To: </strong>mkoller, dfaure<br /><strong>Cc: </strong>Frameworks<br /></div>