mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Ref T121, check if Internet is accessible
* in case the internet provider is down, this is not detected * extended test to detect if access is possible * in case of downtime this indicated in status component
This commit is contained in:
committed by
Mathew Sutcliffe
parent
b70fb70d60
commit
f3847bd33c
@@ -65,9 +65,9 @@ namespace BlackWxPlugin
|
||||
m_maxRange = range;
|
||||
if (m_gribData.isEmpty())
|
||||
{
|
||||
if (!sApp->isNetworkAccessible())
|
||||
if (!sApp->isInternetAccessible())
|
||||
{
|
||||
CLogMessage(this).error("No weather download since network not accessible");
|
||||
CLogMessage(this).error("No weather download since network/internet not accessible");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user