QNetworkConfigurationManager: Fix network polling.
authorMartin Petersson <martin.petersson@nokia.com>
Wed, 27 Apr 2011 10:36:53 +0000 (12:36 +0200)
committerMartin Petersson <martin.petersson@nokia.com>
Wed, 27 Apr 2011 10:52:26 +0000 (12:52 +0200)
commit2506b86828ca8140c2f22d85a4378df40899b132
tree1f4fcdbab6112ad5463cce4eace9ee0448996d18
parent800ad68e4f000e65b0a83ef1da2a29d595964156
QNetworkConfigurationManager: Fix network polling.

startPolling() is called by each engine, so before it would start
multiple singleshot timers. So I moved the timer to the class
and check if it has already been started before it is activated
again. So that we just use one timer.

Task-number: QTBUG-17219
Reviewed-by: Iiro Kause
Reviewed-by: Kranthi Kuntala
src/network/bearer/qnetworkconfigmanager_p.cpp
src/network/bearer/qnetworkconfigmanager_p.h