diff --git a/src/mirall/application.cpp b/src/mirall/application.cpp index e4602a070..d9c8e62d5 100644 --- a/src/mirall/application.cpp +++ b/src/mirall/application.cpp @@ -318,6 +318,9 @@ void Application::slotSSLFailed( QNetworkReply *reply, QList errors ) QString configHandle = ownCloudInfo::instance()->configHandle(reply); // make the ssl dialog aware of the custom config. It loads known certs. + if( ! _sslErrorDialog ) { + _sslErrorDialog = new SslErrorDialog; + } _sslErrorDialog->setCustomConfigHandle( configHandle ); if( _sslErrorDialog->setErrorList( errors ) ) {