Fix regression where incoming transfers would fail
Introduced in 1d1fdf8ef5
This commit is contained in:
parent
08e965fd44
commit
f78d9d9f5f
1 changed files with 2 additions and 2 deletions
|
@ -120,11 +120,11 @@ void LanDeviceLink::dataReceived()
|
|||
|
||||
if (packet.hasPayloadTransferInfo()) {
|
||||
//qCDebug(KDECONNECT_CORE) << "HasPayloadTransferInfo";
|
||||
QVariantMap transferInfo = packet.payloadTransferInfo();
|
||||
const QVariantMap transferInfo = packet.payloadTransferInfo();
|
||||
|
||||
QSharedPointer<QSslSocket> socket(new QSslSocket);
|
||||
|
||||
LanLinkProvider::configureSslSocket(socket.data(), transferInfo.value(QStringLiteral("deviceId")).toString(), true);
|
||||
LanLinkProvider::configureSslSocket(socket.data(), deviceId(), true);
|
||||
|
||||
// emit readChannelFinished when the socket gets disconnected. This seems to be a bug in upstream QSslSocket.
|
||||
// Needs investigation and upstreaming of the fix. QTBUG-62257
|
||||
|
|
Loading…
Reference in a new issue