Review Request: Enable System Monitor - Network to respond to newly connected network interfaces.

Petri Damstén petri.damsten at gmail.com
Wed Mar 11 18:22:20 CET 2009


On Wednesday 11 March 2009 17:52:12 Shantanu Tushar Jha wrote:
> Great !! This patch worked. Now as far as my testing, its responding
> to both connect and disconnect of network sources.
>
> Just had one question out of curiosity, you've used
> m_sourceTimer.start(0); in net.cpp, what is the effect of using 0 as
> the interval here?

There is lot of sourceAdded calls when dataengine starts. With 0 timer slot is 
called when dataengine gets back to event queue == all those sourceAdded calls 
are done.

Petri

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090311/534d5788/attachment.sig 


More information about the Plasma-devel mailing list