mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Keep a singleton ComputerManager outside of the Models
This commit is contained in:
@@ -242,11 +242,11 @@ class ComputerManager : public QObject
|
||||
public:
|
||||
explicit ComputerManager(QObject *parent = nullptr);
|
||||
|
||||
void startPolling();
|
||||
Q_INVOKABLE void startPolling();
|
||||
|
||||
void stopPollingAsync();
|
||||
Q_INVOKABLE void stopPollingAsync();
|
||||
|
||||
bool addNewHost(QString address, bool mdns);
|
||||
Q_INVOKABLE bool addNewHost(QString address, bool mdns);
|
||||
|
||||
QVector<NvComputer*> getComputers();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user