mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 22:23:31 +00:00
@@ -714,6 +714,10 @@ void ComputerManager::addNewHostManually(QString address)
|
|||||||
// If there wasn't a port specified, use the default
|
// If there wasn't a port specified, use the default
|
||||||
addNewHost(NvAddress(url.host(), url.port(DEFAULT_HTTP_PORT)), false);
|
addNewHost(NvAddress(url.host(), url.port(DEFAULT_HTTP_PORT)), false);
|
||||||
}
|
}
|
||||||
|
else if (QHostAddress(address).protocol() == QAbstractSocket::IPv6Protocol) {
|
||||||
|
// The user specified an IPv6 literal without URL escaping, so use the default port
|
||||||
|
addNewHost(NvAddress(address, DEFAULT_HTTP_PORT), false);
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
emit computerAddCompleted(false, false);
|
emit computerAddCompleted(false, false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user