mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-10 05:34:17 +00:00
df0c4c8208
Apparently having this object around can lead to background network scans happening that cause WiFi perf degradation.
20 lines
324 B
C++
20 lines
324 B
C++
#pragma once
|
|
|
|
#include <QObject>
|
|
#include <QNetworkAccessManager>
|
|
|
|
class MappingFetcher : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MappingFetcher(QObject *parent = nullptr);
|
|
|
|
void start();
|
|
|
|
private slots:
|
|
void handleMappingListFetched(QNetworkReply* reply);
|
|
|
|
private:
|
|
QNetworkAccessManager* m_Nam;
|
|
};
|