From bb76365a3a62a2eec033d08515aaae19a89af1d7 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Sun, 14 Oct 2012 21:50:14 +0200 Subject: [PATCH] Make sure SSL errors are always handled --- src/mirall/application.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/mirall/application.cpp b/src/mirall/application.cpp index bf52c86f1..ca060403b 100644 --- a/src/mirall/application.cpp +++ b/src/mirall/application.cpp @@ -159,6 +159,9 @@ Application::Application(int &argc, char **argv) : QTimer::singleShot( 3000, this, SLOT( slotStartUpdateDetector() )); } + connect( ownCloudInfo::instance(), SIGNAL(sslFailed(QNetworkReply*, QList)), + this,SLOT(slotSSLFailed(QNetworkReply*, QList))); + 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)), - this,SLOT(slotSSLFailed(QNetworkReply*, QList))); - - ownCloudInfo::instance()->checkInstallation(); } else { QMessageBox::warning(0, tr("No %1 Configuration").arg(_theme->appName()),