mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
When unsetting the proxy in the settings dialog unset the global proxy too. Update settings in prior to re-downloading the info files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16596 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
191b7e8380
commit
c7052c341c
1 changed files with 4 additions and 1 deletions
|
|
@ -241,8 +241,8 @@ void RbUtilQt::configDialog()
|
|||
Config *cw = new Config(this);
|
||||
cw->setSettings(settings);
|
||||
cw->show();
|
||||
connect(cw, SIGNAL(settingsUpdated()), this, SLOT(downloadInfo()));
|
||||
connect(cw, SIGNAL(settingsUpdated()), this, SLOT(updateSettings()));
|
||||
connect(cw, SIGNAL(settingsUpdated()), this, SLOT(downloadInfo()));
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -257,6 +257,9 @@ void RbUtilQt::updateSettings()
|
|||
else if(settings->proxyType() == "manual") {
|
||||
HttpGet::setGlobalProxy(settings->proxy());
|
||||
}
|
||||
else {
|
||||
HttpGet::setGlobalProxy(QUrl(""));
|
||||
}
|
||||
HttpGet::setGlobalCache(settings->cachePath());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue