Index: /trunk/BNC/src/upload/bncuploadcaster.cpp
===================================================================
--- /trunk/BNC/src/upload/bncuploadcaster.cpp	(revision 9735)
+++ /trunk/BNC/src/upload/bncuploadcaster.cpp	(revision 9736)
@@ -123,5 +123,4 @@
  ////////////////////////////////////////////////////////////////////////////
 void bncUploadCaster::slotSslErrors(QList<QSslError> errors) {
-  emit(newMessage("slotSslErrors", true));
   QString msg = "SSL Error: ";
   if (_outSocket) {
@@ -130,6 +129,5 @@
          cert.issuerInfo(QSslCertificate::OrganizationalUnitName).count() &&
          cert.issuerInfo(QSslCertificate::Organization).count()) {
-      msg += QString("Server Certificate Issued by:\n"
-                     "%1\n%2\nCannot be verified\n")
+      msg += QString("Server Certificate Issued by:\n" "%1\n%2\nCannot be verified\n")
 #if QT_VERSION >= 0x050000
             .arg(cert.issuerInfo(QSslCertificate::OrganizationalUnitName).at(0))
@@ -146,9 +144,10 @@
       msg += err.errorString();
     }
-    emit(newMessage(msg.toLatin1(), true));
 
     if (_sslIgnoreErrors) {
       _outSocket->ignoreSslErrors();
       emit(newMessage("BNC ignores SSL errors as configured", true));
+    } else {
+      emit(newMessage(msg.toLatin1(), true));
     }
   }
@@ -342,5 +341,4 @@
 
 void bncUploadCaster::slotSslSocketConnectionClosed() {
-  disconnect(_outSocket, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>)));
   emit(newMessage("slotSslSocketConnectionClosed", true));
   if (_outSocket) {
