parent
bd5bfac64f
commit
bb41850639
|
@ -43,12 +43,13 @@ class NetMan : public QObject {
|
||||||
private:
|
private:
|
||||||
QNetworkAccessManager *nam;
|
QNetworkAccessManager *nam;
|
||||||
|
|
||||||
NetMan() { nam = new QNetworkAccessManager; }
|
NetMan(QObject * parent = nullptr)
|
||||||
~NetMan() {
|
: QObject(parent)
|
||||||
delete nam;
|
, nam(new QNetworkAccessManager(this))
|
||||||
stopReply(&allOpsReply);
|
{
|
||||||
stopReply(&githubReleaseReply);
|
|
||||||
}
|
}
|
||||||
|
~NetMan() = default;
|
||||||
|
|
||||||
/// ashirtGet generates a basic GET request to the ashirt API server. No authentication is
|
/// ashirtGet generates a basic GET request to the ashirt API server. No authentication is
|
||||||
/// provided (use addASHIRTAuth to do this)
|
/// provided (use addASHIRTAuth to do this)
|
||||||
|
|
Loading…
Reference in New Issue