diff --git a/daemon/kdeconnectd.cpp b/daemon/kdeconnectd.cpp index e4d632aba..80753afe9 100644 --- a/daemon/kdeconnectd.cpp +++ b/daemon/kdeconnectd.cpp @@ -71,7 +71,7 @@ public: QNetworkAccessManager* networkAccessManager() override { if (!m_nam) { - m_nam = new KIO::AccessManager(this); + m_nam = new KIO::Integration::AccessManager(this); } return m_nam; } diff --git a/tests/testdaemon.h b/tests/testdaemon.h index 72fc40852..c6a4a56b8 100644 --- a/tests/testdaemon.h +++ b/tests/testdaemon.h @@ -49,7 +49,7 @@ public: { if (!m_nam) { #ifdef HAVE_KIO - m_nam = new KIO::AccessManager(this); + m_nam = new KIO::Integration::AccessManager(this); #else m_nam = new QNetworkAccessManager(this); #endif