Use AccessManager from KIO::Integration

The same functionality, but a different namespace.

GIT_SILENT
This commit is contained in:
Ahmad Samir 2021-12-25 18:26:01 +02:00
parent bb39ef84b5
commit ad7b5b42b2
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@ public:
QNetworkAccessManager* networkAccessManager() override QNetworkAccessManager* networkAccessManager() override
{ {
if (!m_nam) { if (!m_nam) {
m_nam = new KIO::AccessManager(this); m_nam = new KIO::Integration::AccessManager(this);
} }
return m_nam; return m_nam;
} }

View file

@ -49,7 +49,7 @@ public:
{ {
if (!m_nam) { if (!m_nam) {
#ifdef HAVE_KIO #ifdef HAVE_KIO
m_nam = new KIO::AccessManager(this); m_nam = new KIO::Integration::AccessManager(this);
#else #else
m_nam = new QNetworkAccessManager(this); m_nam = new QNetworkAccessManager(this);
#endif #endif