Make sure SSL errors are always handled

This commit is contained in:
Daniel Molkentin 2012-10-14 21:50:14 +02:00
parent dfe30c16c1
commit bb76365a3a

View file

@ -159,6 +159,9 @@ Application::Application(int &argc, char **argv) :
QTimer::singleShot( 3000, this, SLOT( slotStartUpdateDetector() ));
}
connect( ownCloudInfo::instance(), SIGNAL(sslFailed(QNetworkReply*, QList<QSslError>)),
this,SLOT(slotSSLFailed(QNetworkReply*, QList<QSslError>)));
qDebug() << "Network Location: " << NetworkLocation::currentLocation().encoded();
}
@ -188,10 +191,6 @@ void Application::slotStartFolderSetup( int result )
connect( ownCloudInfo::instance(),SIGNAL(ownCloudDirExists(QString,QNetworkReply*)),
this,SLOT(slotAuthCheck(QString,QNetworkReply*)));
connect( ownCloudInfo::instance(), SIGNAL(sslFailed(QNetworkReply*, QList<QSslError>)),
this,SLOT(slotSSLFailed(QNetworkReply*, QList<QSslError>)));
ownCloudInfo::instance()->checkInstallation();
} else {
QMessageBox::warning(0, tr("No %1 Configuration").arg(_theme->appName()),