<table><tr><td style="">elvisangelaccio created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</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/D5973" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Otherwise if we show the plasma-nm applet twice, m_sensors won't be empty<br />
and we won't be able to fect the connection speed data.</p>

<p>git blame points to<br />
<a href="https://github.com/KDE/kde-workspace/commit/ba7444f99ab08cf0a305899bf66879314bd0d5a9" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/KDE/kde-workspace/commit/ba7444f99ab08cf0a305899bf66879314bd0d5a9</a><br />
and<br />
<a href="https://github.com/KDE/kde-workspace/commit/235fea1868b560acf32c5c13a3d16ef233b50be6" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/KDE/kde-workspace/commit/235fea1868b560acf32c5c13a3d16ef233b50be6</a></p>

<p>but they don't really explain why setData() was called only if m_sensors<br />
was empty.</p>

<p>BUG: 380209</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">plasmoidviewer -a org.kde.plasma.networkmanagement</li>
<li class="remarkup-list-item">open the networkmanager appler twice</li>
<li class="remarkup-list-item">make sure the connection's speed graph works the 2nd time.</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>Plasma/5.8</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5973" rel="noreferrer">https://phabricator.kde.org/D5973</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>dataengines/systemmonitor/systemmonitor.cpp</div></div></div><br /><div><strong>To: </strong>elvisangelaccio, Plasma, jgrulich<br /><strong>Cc: </strong>plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas<br /></div>