mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 05:45:35 +08:00
Rename CThreadedReader::isNetworkConnectedAndAccessible() for consistency
refs #869
This commit is contained in:
committed by
Mathew Sutcliffe
parent
64a47da67f
commit
7edd1bb621
@@ -67,7 +67,7 @@ namespace BlackCore
|
||||
|
||||
void CVatsimBookingReader::ps_read()
|
||||
{
|
||||
if (!this->isNetworkConnectedAndAccessible())
|
||||
if (!this->isNetworkAccessible())
|
||||
{
|
||||
CLogMessage(this).warning("No network, cannot read VATSIM bookings");
|
||||
return;
|
||||
|
||||
@@ -185,7 +185,7 @@ namespace BlackCore
|
||||
|
||||
void CVatsimDataFileReader::ps_read()
|
||||
{
|
||||
if (!this->isNetworkConnectedAndAccessible())
|
||||
if (!this->isNetworkAccessible())
|
||||
{
|
||||
CLogMessage(this).warning("No network, cannot read VATSIM data file");
|
||||
return;
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace BlackCore
|
||||
void CVatsimMetarReader::readMetars()
|
||||
{
|
||||
if (this->isAbandoned()) { return; }
|
||||
if (!this->isNetworkConnectedAndAccessible())
|
||||
if (!this->isNetworkAccessible())
|
||||
{
|
||||
CLogMessage(this).warning("No network, cannot read METARs");
|
||||
return;
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace BlackCore
|
||||
void CVatsimStatusFileReader::ps_read()
|
||||
{
|
||||
this->threadAssertCheck();
|
||||
if (!this->isNetworkConnectedAndAccessible()) { return; }
|
||||
if (!this->isNetworkAccessible()) { return; }
|
||||
|
||||
Q_ASSERT_X(sApp, Q_FUNC_INFO, "Missing application");
|
||||
CFailoverUrlList urls(sApp->getGlobalSetup().getVatsimStatusFileUrls());
|
||||
|
||||
Reference in New Issue
Block a user