mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 14:40:56 +00:00
Fix ComputerModel.paired
This commit is contained in:
@@ -39,7 +39,7 @@ QVariant ComputerModel::data(const QModelIndex& index, int role) const
|
|||||||
case OnlineRole:
|
case OnlineRole:
|
||||||
return computer->state == NvComputer::CS_ONLINE;
|
return computer->state == NvComputer::CS_ONLINE;
|
||||||
case PairedRole:
|
case PairedRole:
|
||||||
return computer->state == NvComputer::PS_PAIRED;
|
return computer->pairState == NvComputer::PS_PAIRED;
|
||||||
case BusyRole:
|
case BusyRole:
|
||||||
return computer->currentGameId != 0;
|
return computer->currentGameId != 0;
|
||||||
case AddPcRole:
|
case AddPcRole:
|
||||||
|
|||||||
Reference in New Issue
Block a user