mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-27 23:07:11 -05:00
Merge pull request #1355 from yan12125/browser-improve-proxy-path-handling
Improve proxy path handling for the browser plugin
This commit is contained in:
commit
5fe18400c5
@ -156,7 +156,10 @@ void BrowserSettings::setUseCustomProxy(bool enabled)
|
|||||||
|
|
||||||
QString BrowserSettings::customProxyLocation()
|
QString BrowserSettings::customProxyLocation()
|
||||||
{
|
{
|
||||||
return config()->get("Browser/CustomProxyLocation", " ").toString();
|
if (!useCustomProxy()) {
|
||||||
|
return QString();
|
||||||
|
}
|
||||||
|
return config()->get("Browser/CustomProxyLocation", "").toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
void BrowserSettings::setCustomProxyLocation(QString location)
|
void BrowserSettings::setCustomProxyLocation(QString location)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user