made caller/concurrent rules tighter

This commit is contained in:
fourtf
2019-08-20 23:29:11 +02:00
parent 7d842e6cf7
commit 14222f84f2
9 changed files with 36 additions and 15 deletions
+3 -1
View File
@@ -1,6 +1,7 @@
#pragma once
#include "common/NetworkCommon.hpp"
#include "util/QObjectRef.hpp"
#include <QNetworkRequest>
#include <functional>
@@ -32,7 +33,8 @@ struct NetworkData {
~NetworkData();
QNetworkRequest request_;
const QObject *caller_ = nullptr;
bool hasCaller_{};
QObjectRef<QObject> caller_;
bool useQuickLoadCache_{};
bool executeConcurrently{};