diff --git a/core/backends/lan/lanlinkprovider.cpp b/core/backends/lan/lanlinkprovider.cpp index 3a1e46701..af0019107 100644 --- a/core/backends/lan/lanlinkprovider.cpp +++ b/core/backends/lan/lanlinkprovider.cpp @@ -72,6 +72,7 @@ LanLinkProvider::LanLinkProvider(bool testMode, quint16 udpBroadcastPort, quint1 }); #else // Detect when a network interface changes status, so we announce ourselves in the new network + QNetworkInformation::instance()->loadBackendByFeatures(QNetworkInformation::Feature::Reachability); connect(QNetworkInformation::instance(), &QNetworkInformation::reachabilityChanged, this, [this]() { if (QNetworkInformation::instance()->reachability() == QNetworkInformation::Reachability::Online) { onNetworkChange();