Missing ifdef

This commit is contained in:
Albert Vaca Cintora 2023-07-17 23:21:02 +02:00
parent cf87cdab8c
commit 665039055e

View file

@ -75,7 +75,9 @@ void LanLinkProvider::onNetworkConfigurationChanged(const QNetworkConfiguration
if (m_lastConfig != config && config.state() == QNetworkConfiguration::Active) { if (m_lastConfig != config && config.state() == QNetworkConfiguration::Active) {
m_lastConfig = config; m_lastConfig = config;
onNetworkChange(); onNetworkChange();
#ifdef KDECONNECT_MDNS
m_mdnsDiscovery.onNetworkChange(); m_mdnsDiscovery.onNetworkChange();
#endif
} }
} }