VPN mode fixes for Android and iOS

This commit is contained in:
pokamest 2023-09-10 17:40:18 -07:00
parent 90d1c16783
commit 285c508329
4 changed files with 15 additions and 22 deletions

View file

@ -79,7 +79,7 @@ public:
QString routeModeString(RouteMode mode) const;
RouteMode routeMode() const { return static_cast<RouteMode>(m_settings.value("Conf/routeMode", 0).toInt()); }
RouteMode routeMode() const;
void setRouteMode(RouteMode mode) { m_settings.setValue("Conf/routeMode", mode); }
QVariantMap vpnSites(RouteMode mode) const { return m_settings.value("Conf/" + routeModeString(mode)).toMap(); }