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>
Wed, 15 Feb 2012 14:31:26 +0000 (15:31 +0100)
commitaf8a22c53a095031c6d363882da373d2173201f5
tree013e7f4551216481fed0cce000ade98625de84af
parent769a3679285a986c022f6dc2f1c43f05a2a666ef
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.

Cherry-picked from Qt5 / QtBase commit:
c93ac6758606f64af7fe2bac6c8bb08391d218a7

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]