From 52ae354ca2c31c097a32aa89ef0cd9ea453ae1cb Mon Sep 17 00:00:00 2001 From: Camila San Date: Mon, 4 Nov 2019 17:43:52 +0000 Subject: [PATCH] Fix remote wipe when a proxy is configured. Signed-off-by: Camila San --- src/gui/remotewipe.cpp | 2 ++ 1 file changed, 2 insertions(+) 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)), + _account.data(), SLOT(slotHandleSslErrors(QNetworkReply *, QList))); QObject::connect(_networkReplyCheck, &QNetworkReply::finished, this, &RemoteWipe::checkJobSlot); }