forked from len0rd/rockbox
Clean up and rename Detect class.
Move check() function out of the Detect class and place it into utils.cpp for now. Rename Detect class to System, as it now only retrieves data about the underlying system and doesn't detect anything anymore. Cleans up with the confusion between Detect and Autodetection. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22238 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
84ced00bbd
commit
e2f5086916
10 changed files with 77 additions and 75 deletions
|
|
@ -26,7 +26,7 @@
|
|||
#include "browsedirtree.h"
|
||||
#include "encoders.h"
|
||||
#include "tts.h"
|
||||
#include "detect.h"
|
||||
#include "system.h"
|
||||
#include "encttscfggui.h"
|
||||
#include "rbsettings.h"
|
||||
#include "utils.h"
|
||||
|
|
@ -420,7 +420,7 @@ void Config::setSystemProxy(bool checked)
|
|||
proxy.setHost(ui.proxyHost->text());
|
||||
proxy.setPort(ui.proxyPort->text().toInt());
|
||||
// show system values in input box
|
||||
QUrl envproxy = Detect::systemProxy();
|
||||
QUrl envproxy = System::systemProxy();
|
||||
|
||||
ui.proxyHost->setText(envproxy.host());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue