mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-23 08:30:31 +00:00
Implement manually adding PCs
This commit is contained in:
1 parent
6687936e2f
commit
ecebf75b88
6 files changed
+135
-58
No files matched your search
@@ -93,6 +93,13 @@ void ComputerModel::deleteComputer(int computerIndex)
|
||||
endRemoveRows();
|
||||
}
|
||||
|
||||
bool ComputerModel::wakeComputer(int computerIndex)
|
||||
{
|
||||
Q_ASSERT(computerIndex < m_Computers.count());
|
||||
|
||||
return m_Computers[computerIndex]->wake();
|
||||
}
|
||||
|
||||
void ComputerModel::pairComputer(int computerIndex, QString pin)
|
||||
{
|
||||
Q_ASSERT(computerIndex < m_Computers.count());
|
||||
|
||||
Reference in new issue
Block a user