Fix ComputerModel.paired
This commit is contained in:
parent
ebf27cdcaf
commit
f120197c21
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue