imagewriter: Remove unique_ptr for _networkManager

This commit is contained in:
Tom Dewey 2023-11-09 16:11:02 +00:00 committed by Tom Dewey
parent a6200ba994
commit 2bd4a068bc
2 changed files with 8 additions and 8 deletions

View file

@ -181,7 +181,7 @@ private:
// Recursively walk all the entries with subitems and, for any which
// refer to an external JSON list, fetch the list and put it in place.
void fillSubLists(QJsonArray &topLevel);
std::unique_ptr<QNetworkAccessManager> _networkManager;
QNetworkAccessManager _networkManager;
QJsonDocument _completeOsList;
QJsonArray _deviceFilter;
std::mutex _deviceListMutationMutex;