mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45:35 +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())
|
||||
|
||||
Reference in New Issue
Block a user