Added network to UNIT tests (needed for CUrl

Other includes where needed
This commit is contained in:
Klaus Basan
2019-06-29 20:48:38 +02:00
parent 83dd48a897
commit 0f9f088d98
10 changed files with 16 additions and 15 deletions

View File

@@ -153,7 +153,7 @@ namespace BlackWxPlugin
m_maxRange = range;
if (m_gribData.isEmpty())
{
if (!sApp->isInternetAccessible())
if (!sApp || !sApp->isInternetAccessible())
{
CLogMessage(this).error(u"No weather download since network/internet not accessible");
return;