diff --git a/core/backends/lan/lanlinkprovider.cpp b/core/backends/lan/lanlinkprovider.cpp index be54f5db4..4f29ccbd4 100644 --- a/core/backends/lan/lanlinkprovider.cpp +++ b/core/backends/lan/lanlinkprovider.cpp @@ -311,9 +311,11 @@ void LanLinkProvider::tcpSocketConnected() { QSslSocket *socket = qobject_cast(sender()); - if (!socket) + if (!socket) { return; - // TODO Delete me? + } + + // TODO Delete me? #if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) disconnect(socket, QOverload::of(&QAbstractSocket::error), this, &LanLinkProvider::connectError); #else