From ad7b5b42b2c2632f0a8e54007206d59e7404993f Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Sat, 25 Dec 2021 18:26:01 +0200 Subject: [PATCH] Use AccessManager from KIO::Integration The same functionality, but a different namespace. GIT_SILENT --- daemon/kdeconnectd.cpp | 2 +- tests/testdaemon.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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