<table><tr><td style="">broulik added a comment.
</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/D14895">View Revision</a></tr></table><br /><div><div><p>Yes, please use <tt style="background: #ebebeb; font-size: 13px;">KIO::FileSystemFreeSpaceJob</tt> which is a lot simpler than all of this manually added threading code.</p>
<p>Also beware that <tt style="background: #ebebeb; font-size: 13px;">bool SolidDeviceEngine::updateSourceEvent</tt> is currently supposed to return <tt style="background: #ebebeb; font-size: 13px;">true</tt> for when any of the sources changed which will no longer work when <tt style="background: #ebebeb; font-size: 13px;">updateStorageSpace</tt> becomes asynchronous. Might not be an issue as you call <tt style="background: #ebebeb; font-size: 13px;">setData</tt> anyway but just something I want you to keep in mind for testing.</p></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14895">https://phabricator.kde.org/D14895</a></div></div><br /><div><strong>To: </strong>McPain, broulik, ngraham, davidedmundson<br /><strong>Cc: </strong>anthonyfieroni, davidedmundson, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>