mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-08 16:56:03 +00:00
Add missing changes to fix build
This commit is contained in:
@@ -593,7 +593,7 @@ void ComputerManager::stopPollingAsync()
|
||||
void ComputerManager::addNewHostManually(QString address)
|
||||
{
|
||||
QUrl url = QUrl::fromUserInput(address);
|
||||
if (!url.isEmpty() && url.isValid()) {
|
||||
if (url.isValid() && !url.host().isEmpty()) {
|
||||
// If there wasn't a port specified, use the default
|
||||
addNewHost(NvAddress(url.host(), url.port(47989)), false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user