diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-14 10:43:37 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-14 10:43:37 -0800 |
commit | 3453234a3b940fbc9703dd3bdb9e89561c2cd92c (patch) | |
tree | 0a12b1623f830aae40b4e96d7b51f5a23b520294 /subsurface-mobile-helper.cpp | |
parent | b688f417de4ea246c4e7387232f9b9b8ca9b5318 (diff) | |
download | subsurface-3453234a3b940fbc9703dd3bdb9e89561c2cd92c.tar.gz |
Missing half of the previous commit
Oops. I fixed the previous commit, tested the fix, and then forgot to
update the commit and instead pushed it out. That was dumb.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-mobile-helper.cpp')
-rw-r--r-- | subsurface-mobile-helper.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/subsurface-mobile-helper.cpp b/subsurface-mobile-helper.cpp index 170317100..f7eaca10f 100644 --- a/subsurface-mobile-helper.cpp +++ b/subsurface-mobile-helper.cpp @@ -27,19 +27,6 @@ void init_ui() init_qt_late(); } -void init_proxy() -{ - QNetworkProxy proxy; - proxy.setType(QNetworkProxy::ProxyType(prefs.proxy_type)); - proxy.setHostName(prefs.proxy_host); - proxy.setPort(prefs.proxy_port); - if (prefs.proxy_auth) { - proxy.setUser(prefs.proxy_user); - proxy.setPassword(prefs.proxy_pass); - } - QNetworkProxy::setApplicationProxy(proxy); -} - void run_ui() { qmlRegisterType<QMLManager>("org.subsurfacedivelog.mobile", 1, 0, "QMLManager"); |