Ignore:
Timestamp:
May 31, 2022, 10:54:53 AM (23 months ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncuploadcaster.cpp

    r9737 r9738  
    6464
    6565  _sslIgnoreErrors = (Qt::CheckState(settings.value("sslIgnoreErrors").toInt()) == Qt::Checked);
    66 
    67   qRegisterMetaType<QList<QSslError> >("QList<QSslError>");
    6866
    6967  _proxyOutHost = settings.value("proxyHost").toString();
     
    196194void bncUploadCaster::open() {
    197195  const int timeOut = 5000;  // 5 seconds
    198   bncSslConfig sslConfig;
    199196  QByteArray msg;
    200197
     
    222219
    223220  _outSocket = new QSslSocket();
     221  _outSocket->setSslConfiguration(BNC_CORE->sslConfiguration());
    224222  _outSocket->setProxy(QNetworkProxy::NoProxy);
    225   _outSocket->setSslConfiguration(sslConfig);
     223
    226224  connect(_outSocket, SIGNAL(disconnected()), this, SLOT(slotSslSocketConnectionClosed()));
    227225  connect(_outSocket, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>)));
     
    339337
    340338void bncUploadCaster::slotSslSocketConnectionClosed() {
    341   disconnect(_outSocket, SIGNAL(disconnected()), this, SLOT(slotSslSocketConnectionClosed()));
    342   disconnect(_outSocket, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>)));
     339//  disconnect(_outSocket, SIGNAL(disconnected()), this, SLOT(slotSslSocketConnectionClosed()));
     340//  disconnect(_outSocket, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>)));
    343341  emit(newMessage("slotSslSocketConnectionClosed", true));
    344342  if (_outSocket) {
Note: See TracChangeset for help on using the changeset viewer.