removed duplicate function routeMode
This commit is contained in:
parent
6bb85deca6
commit
844b552bf3
1 changed files with 0 additions and 9 deletions
|
@ -240,15 +240,6 @@ Settings::RouteMode Settings::routeMode() const
|
|||
return static_cast<RouteMode>(m_settings.value("Conf/routeMode", 0).toInt());
|
||||
}
|
||||
|
||||
Settings::RouteMode Settings::routeMode() const
|
||||
{
|
||||
// TODO implement for mobiles
|
||||
#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
|
||||
return RouteMode::VpnAllSites;
|
||||
#endif
|
||||
return static_cast<RouteMode>(m_settings.value("Conf/routeMode", 0).toInt());
|
||||
}
|
||||
|
||||
bool Settings::addVpnSite(RouteMode mode, const QString &site, const QString &ip)
|
||||
{
|
||||
QVariantMap sites = vpnSites(mode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue