[Pkg-owncloud-commits] [owncloud-client] 389/498: owncloudcmd: fix --httpproxy

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Aug 11 14:49:09 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit d9c52f6316cb33b494ae067e4cc5d1231ad330f2
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Tue Jul 28 13:33:58 2015 +0200

    owncloudcmd: fix --httpproxy
    
    It was only used for csync, but not for QNAM
    
    Issue #3465
---
 src/cmd/cmd.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/cmd/cmd.cpp b/src/cmd/cmd.cpp
index b9205c0..8a59c4a 100644
--- a/src/cmd/cmd.cpp
+++ b/src/cmd/cmd.cpp
@@ -397,6 +397,8 @@ restart_sync:
                     csync_set_module_property(_csync_ctx, "proxy_port", (void*) &port);
                 }
             }
+            QNetworkProxyFactory::setUseSystemConfiguration(false);
+            QNetworkProxy::setApplicationProxy(QNetworkProxy(QNetworkProxy::HttpProxy, host, port));
         }
     } else {
         clientProxy.setupQtProxyFromConfig();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list