- Timestamp:
- May 20, 2022, 11:13:45 AM (3 years ago)
- Location:
- trunk/BNC/src/upload
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncuploadcaster.cpp
r9726 r9727 123 123 //////////////////////////////////////////////////////////////////////////// 124 124 void bncUploadCaster::slotSslErrors(QList<QSslError> errors) { 125 emit(newMessage("slotSslErrors", true)); 125 126 QString msg = "SSL Error: "; 126 127 if (_outSocket) { … … 232 233 _outSocket->setSslConfiguration(sslConfig); 233 234 _outSocket->setProxy(QNetworkProxy::NoProxy); 235 connect(_outSocket, SIGNAL(disconnected()), this, SLOT(slotSslSocketConnectionClosed())); 234 236 connect(_outSocket, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>))); 235 237 … … 360 362 361 363 362 363 364 365 366 364 void bncUploadCaster::slotSslSocketConnectionClosed() { 365 emit(newMessage("slotSslSocketConnectionClosed", true)); 366 delete _outSocket; 367 _outSocket = 0; 368 disconnect(_outSocket, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>))); 369 } 370 371 372 373 -
trunk/BNC/src/upload/bncuploadcaster.h
r9726 r9727 37 37 void slotProxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*); 38 38 void slotSslErrors(QList<QSslError>); 39 void slotSslSocketConnectionClosed(); 39 40 40 41 private:
Note:
See TracChangeset
for help on using the changeset viewer.