mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 07:15:27 +00:00
Apparently having this object around can lead to background network scans happening that cause WiFi perf degradation.
23 lines
381 B
C++
23 lines
381 B
C++
#pragma once
|
|
|
|
#include <QObject>
|
|
#include <QNetworkAccessManager>
|
|
|
|
class CompatFetcher : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit CompatFetcher(QObject *parent = nullptr);
|
|
|
|
void start();
|
|
|
|
static bool isGfeVersionSupported(QString gfeVersion);
|
|
|
|
private slots:
|
|
void handleCompatInfoFetched(QNetworkReply* reply);
|
|
|
|
private:
|
|
QNetworkAccessManager* m_Nam;
|
|
};
|