aboutsummaryrefslogtreecommitdiffstats
path: root/include/server/BaseAPI.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-08-23 09:48:21 +0000
committerSaturneric <[email protected]>2021-08-23 09:48:21 +0000
commit03d37859e3e6c644085fb56c86c126536525d721 (patch)
treeb0d01772a97095191405a1c7c682ac35e4bdf5a0 /include/server/BaseAPI.h
parentImprove the automatic key exchange function; fix some known problems; (diff)
downloadGpgFrontend-03d37859e3e6c644085fb56c86c126536525d721.tar.gz
GpgFrontend-03d37859e3e6c644085fb56c86c126536525d721.zip
Fix some problems; Ready to release a BETA version
Diffstat (limited to 'include/server/BaseAPI.h')
-rw-r--r--include/server/BaseAPI.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/server/BaseAPI.h b/include/server/BaseAPI.h
index 4843413d..36836d81 100644
--- a/include/server/BaseAPI.h
+++ b/include/server/BaseAPI.h
@@ -30,7 +30,7 @@
#include "rapidjson/document.h"
-class BaseAPI : QObject {
+class BaseAPI : public QObject {
Q_OBJECT
public:
@@ -52,12 +52,12 @@ private:
QNetworkRequest request;
- bool good = false;
-
QNetworkReply *send_json_data();
protected:
+ bool good = false;
+
rapidjson::Document document;
const ComUtils &getUtils() { return *utils; };