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:
Klaus Basan
2017-08-05 20:05:07 +02:00
committed by Mathew Sutcliffe
parent b70fb70d60
commit f3847bd33c
20 changed files with 176 additions and 92 deletions

View File

@@ -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;
}