Add missing changes to fix build
This commit is contained in:
parent
fa3f822cf1
commit
043c55ae66
3 changed files with 102 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue