mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
committed by
Mathew Sutcliffe
parent
98b2061d3d
commit
7faffc520d
@@ -574,17 +574,6 @@ namespace BlackCore
|
||||
return this->m_accessManager.networkAccessible() == QNetworkAccessManager::Accessible;
|
||||
}
|
||||
|
||||
bool CApplication::isNetworkConnected() const
|
||||
{
|
||||
static bool con = CNetworkUtils::hasConnectedInterface();
|
||||
return con;
|
||||
}
|
||||
|
||||
bool CApplication::isNetworkConnectedAndAccessible() const
|
||||
{
|
||||
return this->isNetworkConnected() && this->isNetworkAccessible();
|
||||
}
|
||||
|
||||
void CApplication::exit(int retcode)
|
||||
{
|
||||
if (instance())
|
||||
|
||||
@@ -154,12 +154,6 @@ namespace BlackCore
|
||||
//! Network accessible?
|
||||
bool isNetworkAccessible() const;
|
||||
|
||||
//! Network connected (at startup time)
|
||||
bool isNetworkConnected() const;
|
||||
|
||||
//! Network connected and also accessible
|
||||
bool isNetworkConnectedAndAccessible() const;
|
||||
|
||||
//! Setup already synchronized
|
||||
bool isSetupAvailable() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user