Explorar el Código

Make redirects work

Daniel Molkentin hace 12 años
padre
commit
8d0d5b4077
Se han modificado 1 ficheros con 0 adiciones y 11 borrados
  1. 0 11
      src/mirall/networkjobs.cpp

+ 0 - 11
src/mirall/networkjobs.cpp

@@ -265,17 +265,6 @@ bool CheckServerJob::installed(const QVariantMap &info)
 
 void CheckServerJob::slotFinished()
 {
-    // ### this should no longer be needed
-    if( reply()->error() == QNetworkReply::NoError && reply()->size() == 0 ) {
-        // This seems to be a bit strange behaviour of QNetworkAccessManager.
-        // It calls the finished slot multiple times but only the first read wins.
-        // That happend when the code connected the finished signal of the manager.
-        // It did not happen when the code connected to the reply finish signal.
-        qDebug() << "WRN: NetworkReply with not content but also no error! " << reply();
-        deleteLater();
-        return;
-    }
-
     account()->setCertificateChain(reply()->sslConfiguration().peerCertificateChain());
 
     // ### the qDebugs here should be exported via displayErrors() so they