Fix online status checking in generic bearer plugin.
authorXizhi Zhu <xizhi.zhu@gmail.com>
Wed, 18 Jan 2012 20:38:17 +0000 (21:38 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 14 Feb 2012 19:29:32 +0000 (20:29 +0100)
commitc93ac6758606f64af7fe2bac6c8bb08391d218a7
tree84d5c4b72afc48c3b0035b71c0fd13554e4378af
parent5fb2122c34a8a129379d637a203b6f50cef02e02
Fix online status checking in generic bearer plugin.

QNetworkInterface::IsUp means the interface is up, but not necessarily
connected. QNetworkInterface::IsRunning means the interface is up and
connected.

Task-number: QTBUG-22873
Change-Id: Ieb544058814520b4292b496de2e4672214f3d00a
Reviewed-by: Shane Kearns <ext-shane.2.kearns@nokia.com>
src/plugins/bearer/generic/qgenericengine.cpp
tests/manual/qnetworkconfigurationmanager/main.cpp [new file with mode: 0644]
tests/manual/qnetworkconfigurationmanager/qnetworkconfigurationmanager.pro [new file with mode: 0644]