Index: trunk/BNC/src/upload/bncuploadcaster.cpp
===================================================================
--- trunk/BNC/src/upload/bncuploadcaster.cpp	(revision 9740)
+++ trunk/BNC/src/upload/bncuploadcaster.cpp	(revision 9741)
@@ -105,5 +105,4 @@
   }
   if (_outSocket) {
-    disconnect(_outSocket, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>)));
     disconnect(_outSocket, SIGNAL(disconnected()), this, SLOT(slotSslSocketConnectionClosed()));
     delete _outSocket;
@@ -144,8 +143,4 @@
     emit(newMessage(msg.toLatin1(), true));
 
-    if (_sslIgnoreErrors) {
-      _outSocket->ignoreSslErrors();
-      emit(newMessage("BNC ignores SSL errors as configured", true));
-    }
   }
 }
@@ -219,7 +214,14 @@
   _outSocket = new QSslSocket();
   _outSocket->setProxy(QNetworkProxy::NoProxy);
-  _outSocket->setSslConfiguration(BNC_SSL_CONFIG);
+
   connect(_outSocket, SIGNAL(disconnected()), this, SLOT(slotSslSocketConnectionClosed()));
-  connect(_outSocket, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>)));
+
+  if (_sslIgnoreErrors) {
+    _outSocket->ignoreSslErrors();
+    emit(newMessage("BNC ignores SSL errors during upload as configured", true));
+  } else {
+    _outSocket->setSslConfiguration(BNC_SSL_CONFIG);
+    connect(_outSocket, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>)));
+  }
 
   if (!_proxy) {
@@ -336,5 +338,4 @@
 void bncUploadCaster::slotSslSocketConnectionClosed() {
   disconnect(_outSocket, SIGNAL(disconnected()), this, SLOT(slotSslSocketConnectionClosed()));
-  disconnect(_outSocket, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>)));
   emit(newMessage("slotSslSocketConnectionClosed", true));
   if (_outSocket) {
