Skip to content
Permalink
Browse files
[ssucli] Obey HTTP proxy configuration
  • Loading branch information
martyone committed Aug 26, 2013
1 parent 3668c70 commit 58366a19fc6a90d7e83da1f3b8b377d0c490aa42
Showing with 10 additions and 0 deletions.
  1. +3 −0 rndssucli/main.cpp
  2. +2 −0 rndssucli/rndssucli.pro
  3. +3 −0 ssuurlresolver/main.cpp
  4. +2 −0 ssuurlresolver/ssuurlresolver.pro
@@ -10,6 +10,7 @@
#include <QLocale>
#include <QLibraryInfo>
#include <QTimer>
#include <QNetworkProxyFactory>
#include "rndssucli.h"

int main(int argc, char** argv){
@@ -23,6 +24,8 @@ int main(int argc, char** argv){
QLibraryInfo::location(QLibraryInfo::TranslationsPath));
app.installTranslator(&qtTranslator);

QNetworkProxyFactory::setUseSystemConfiguration(true);

RndSsuCli mw;
QTimer::singleShot(0, &mw, SLOT(run()));

@@ -2,6 +2,8 @@ TARGET = ssu
include(../ssuapplication.pri)
include(rndssucli_dependencies.pri)

QT += network

HEADERS = rndssucli.h
SOURCES = main.cpp \
rndssucli.cpp
@@ -10,6 +10,7 @@
#include <QLocale>
#include <QLibraryInfo>
#include <QTimer>
#include <QNetworkProxyFactory>
#include "ssuurlresolver.h"

int main(int argc, char** argv){
@@ -23,6 +24,8 @@ int main(int argc, char** argv){
QLibraryInfo::location(QLibraryInfo::TranslationsPath));
app.installTranslator(&qtTranslator);

QNetworkProxyFactory::setUseSystemConfiguration(true);

SsuUrlResolver mw;
QTimer::singleShot(0, &mw, SLOT(run()));

@@ -6,6 +6,8 @@ include(ssuurlresolver_dependencies.pri)
DESTDIR = $$DESTDIR_LIB/zypp/plugins/urlresolver
target.path = /usr/lib/zypp/plugins/urlresolver

QT += network

HEADERS = ssuurlresolver.h
SOURCES = main.cpp \
ssuurlresolver.cpp

0 comments on commit 58366a1

Please sign in to comment.