mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-25 14:25:01 +00:00
Merge pull request #4976
27c3e91 qt: add proxy to options overridden if necessary. (Cory Fields)
This commit is contained in:
commit
7c6cbff0e5
@ -119,6 +119,8 @@ void OptionsModel::Init()
|
|||||||
// Only try to set -proxy, if user has enabled fUseProxy
|
// Only try to set -proxy, if user has enabled fUseProxy
|
||||||
if (settings.value("fUseProxy").toBool() && !SoftSetArg("-proxy", settings.value("addrProxy").toString().toStdString()))
|
if (settings.value("fUseProxy").toBool() && !SoftSetArg("-proxy", settings.value("addrProxy").toString().toStdString()))
|
||||||
addOverriddenOption("-proxy");
|
addOverriddenOption("-proxy");
|
||||||
|
else if(!settings.value("fUseProxy").toBool() && !GetArg("-proxy", "").empty())
|
||||||
|
addOverriddenOption("-proxy");
|
||||||
|
|
||||||
// Display
|
// Display
|
||||||
if (!settings.contains("language"))
|
if (!settings.contains("language"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user