handle proxy port correctly.

This commit is contained in:
Klaas Freitag 2012-08-06 17:44:23 +03:00
parent 70838442c9
commit 80f2699c80
2 changed files with 2 additions and 3 deletions

View file

@ -401,8 +401,6 @@ void Application::setupLogBrowser()
void Application::setupProxy()
{
//
// TODO: push proxy information to csync
//
Mirall::MirallConfigFile cfg;
switch(cfg.proxyType())

View file

@ -334,7 +334,8 @@ void CSyncThread::setConnectionDetails( const QString& user, const QString& pass
_passwd = passwd;
_proxyType = proxyType;
_proxyHost = proxyHost;
_proxyPort = proxyPort;
_proxyPort = QString::number(proxyPort);
qDebug() << "Proxy-Port: " << _proxyPort;
_proxyUser = proxyUser;
_proxyPwd = proxyPwd;
_mutex.unlock();