Fix ComputerModel.paired

This commit is contained in:
Cameron Gutman
2018-07-05 20:41:17 -07:00
parent ebf27cdcaf
commit f120197c21
+1 -1
View File
@@ -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: