Add a stub for errors coming from Android
These errors are related to VPN connection errors
This commit is contained in:
parent
375825125f
commit
eafac491d8
4 changed files with 11 additions and 3 deletions
|
|
@ -193,6 +193,10 @@ void VpnConnection::flushDns()
|
|||
|
||||
ErrorCode VpnConnection::lastError() const
|
||||
{
|
||||
#ifdef Q_OS_ANDROID
|
||||
return ErrorCode::AndroidError;
|
||||
#endif
|
||||
|
||||
if (!m_vpnProtocol.data()) {
|
||||
return ErrorCode::InternalError;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue