Fix build issues.
This commit is contained in:
parent
e90ff5701a
commit
003a17a06d
|
@ -30,6 +30,10 @@
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(5, 13, 0)
|
||||||
|
#include "../vmisc/defglobal.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
class QNetworkAccessManager;
|
class QNetworkAccessManager;
|
||||||
class VGAnalyticsWorker;
|
class VGAnalyticsWorker;
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,11 @@
|
||||||
#include <QQueue>
|
#include <QQueue>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QUrlQuery>
|
#include <QUrlQuery>
|
||||||
#include <qglobal.h>
|
#include <QtGlobal>
|
||||||
|
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(5, 13, 0)
|
||||||
|
#include "../vmisc/defglobal.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
class QNetworkReply;
|
class QNetworkReply;
|
||||||
|
|
||||||
|
@ -53,6 +57,7 @@ class VGAnalyticsWorker : public QObject
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit VGAnalyticsWorker(QObject *parent = nullptr);
|
explicit VGAnalyticsWorker(QObject *parent = nullptr);
|
||||||
|
~VGAnalyticsWorker() override = default;
|
||||||
|
|
||||||
QNetworkAccessManager *networkManager{nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
|
QNetworkAccessManager *networkManager{nullptr}; // NOLINT(misc-non-private-member-variables-in-classes)
|
||||||
|
|
||||||
|
@ -91,7 +96,7 @@ public slots:
|
||||||
void PostMessageFinished();
|
void PostMessageFinished();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Q_DISABLE_COPY_MOVE(VGAnalyticsWorker)
|
Q_DISABLE_COPY_MOVE(VGAnalyticsWorker) // NOLINT
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // VGANALYTICSWORKER_H
|
#endif // VGANALYTICSWORKER_H
|
||||||
|
|
Loading…
Reference in New Issue
Block a user