diff --git a/src/core/network.cpp b/src/core/network.cpp index f315410e6d30cba0bddcaedd8cfce3d643a2ab08..b99c32b940a37b83ab4c5e01e2ca6805c1a4ca5b 100644 --- a/src/core/network.cpp +++ b/src/core/network.cpp @@ -10,7 +10,7 @@ namespace Core { Network::Network(const bool &async, QObject *parent) : QObject(parent), _async(async) { - _manager = new QNetworkAccessManager(); + _manager = new QNetworkAccessManager(this); connect(_manager, &QNetworkAccessManager::finished, this, &Network::finished); if (!_async) {