1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

Don't set network configuration to network manager.

Closes #957
This commit is contained in:
nowrep 2013-07-01 17:39:56 +02:00
parent a4ee2d7497
commit 973cb65349

View File

@ -36,7 +36,6 @@
#include "schemehandlers/fileschemehandler.h" #include "schemehandlers/fileschemehandler.h"
#include "schemehandlers/ftpschemehandler.h" #include "schemehandlers/ftpschemehandler.h"
#include <QNetworkConfigurationManager>
#include <QFormLayout> #include <QFormLayout>
#include <QLabel> #include <QLabel>
#include <QLineEdit> #include <QLineEdit>
@ -71,10 +70,6 @@ NetworkManager::NetworkManager(QObject* parent)
, m_adblockManager(0) , m_adblockManager(0)
, m_ignoreAllWarnings(false) , m_ignoreAllWarnings(false)
{ {
// Setting default configuration manager makes networkAccesibility working
QNetworkConfigurationManager manager;
setConfiguration(manager.defaultConfiguration());
connect(this, SIGNAL(authenticationRequired(QNetworkReply*,QAuthenticator*)), this, SLOT(authentication(QNetworkReply*,QAuthenticator*))); connect(this, SIGNAL(authenticationRequired(QNetworkReply*,QAuthenticator*)), this, SLOT(authentication(QNetworkReply*,QAuthenticator*)));
connect(this, SIGNAL(proxyAuthenticationRequired(QNetworkProxy,QAuthenticator*)), this, SLOT(proxyAuthentication(QNetworkProxy,QAuthenticator*))); connect(this, SIGNAL(proxyAuthenticationRequired(QNetworkProxy,QAuthenticator*)), this, SLOT(proxyAuthentication(QNetworkProxy,QAuthenticator*)));
connect(this, SIGNAL(sslErrors(QNetworkReply*,QList<QSslError>)), this, SLOT(sslError(QNetworkReply*,QList<QSslError>))); connect(this, SIGNAL(sslErrors(QNetworkReply*,QList<QSslError>)), this, SLOT(sslError(QNetworkReply*,QList<QSslError>)));