Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamila San <hello@camila.codes>2019-11-04 20:43:52 +0300
committerCamila San <hello@camila.codes>2019-11-04 20:52:02 +0300
commit52ae354ca2c31c097a32aa89ef0cd9ea453ae1cb (patch)
tree0b9551df1376a86a6188efee86ae586d5030b816 /src/gui/remotewipe.cpp
parent73af9b1cac5c8fe785cd2bf4cd390b35cbb29645 (diff)
Fix remote wipe when a proxy is configured.
Signed-off-by: Camila San <hello@camila.codes>
Diffstat (limited to 'src/gui/remotewipe.cpp')
-rw-r--r--src/gui/remotewipe.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/remotewipe.cpp b/src/gui/remotewipe.cpp
index 8d09f1549..176cda547 100644
--- a/src/gui/remotewipe.cpp
+++ b/src/gui/remotewipe.cpp
@@ -60,6 +60,8 @@ void RemoteWipe::startCheckJobWithAppPassword(QString pwd){
QUrlQuery arguments(QString("token=%1").arg(_appPassword));
requestBody->setData(arguments.query(QUrl::FullyEncoded).toLatin1());
_networkReplyCheck = _networkManager.post(request, requestBody);
+ QObject::connect(&_networkManager, SIGNAL(sslErrors(QNetworkReply *, QList<QSslError>)),
+ _account.data(), SLOT(slotHandleSslErrors(QNetworkReply *, QList<QSslError>)));
QObject::connect(_networkReplyCheck, &QNetworkReply::finished, this,
&RemoteWipe::checkJobSlot);
}