Fix ComputerModel.paired

This commit is contained in:
Cameron Gutman
2018-07-05 20:41:17 -07:00
parent ebf27cdcaf
commit f120197c21

View File

@@ -39,7 +39,7 @@ QVariant ComputerModel::data(const QModelIndex& index, int role) const
case OnlineRole:
return computer->state == NvComputer::CS_ONLINE;
case PairedRole:
return computer->state == NvComputer::PS_PAIRED;
return computer->pairState == NvComputer::PS_PAIRED;
case BusyRole:
return computer->currentGameId != 0;
case AddPcRole: