Add the ability to rename PCs

This commit is contained in:
Cameron Gutman committed 2020-05-01 18:34:15 -07:00
1 parent 0d9d0845f5
commit b75f662c41
7 files changed
+85 -1

No files matched your search

+7
View File
@@ -128,6 +128,13 @@ void ComputerModel::wakeComputer(int computerIndex)
QThreadPool::globalInstance()->start(wakeTask);
}
void ComputerModel::renameComputer(int computerIndex, QString name)
{
Q_ASSERT(computerIndex < m_Computers.count());
m_ComputerManager->renameHost(m_Computers[computerIndex], name);
}
void ComputerModel::pairComputer(int computerIndex, QString pin)
{
Q_ASSERT(computerIndex < m_Computers.count());