Use AccessManager from KIO::Integration
The same functionality, but a different namespace. GIT_SILENT
This commit is contained in:
parent
bb39ef84b5
commit
ad7b5b42b2
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue