Allow a pairing attempt even if the PC is busy

Pairing while busy doesn't work with GFE but works with Sunshine
This commit is contained in:
Cameron Gutman
2022-10-12 22:15:58 -05:00
parent 63f0910eac
commit c7a30d8728
3 changed files with 12 additions and 20 deletions

View File

@@ -80,11 +80,6 @@ public:
QString msg = QObject::tr("%1 is already paired").arg(event.computer->name);
emit q->failed(msg);
}
else if (event.computer->currentGameId != 0) {
m_State = StateFailure;
QString msg = QObject::tr("You cannot pair while a previous session is still running on the host PC. Quit any running games or reboot the host PC, then try pairing again.");
emit q->failed(msg);
}
else {
Q_ASSERT(!m_PredefinedPin.isEmpty());