Merge PR #204: Update box name for cloud devices

This commit is contained in:
Jenkins 2019-06-19 01:10:14 +02:00
commit 1b96674242

View File

@ -160,10 +160,10 @@ void NymeaDiscovery::syncCloudDevices()
if (!host) {
host = new NymeaHost();
host->setUuid(d->id());
host->setName(d->name());
qDebug() << "CloudDiscovery: Adding new host:" << host->name() << host->uuid().toString();
m_nymeaHosts->addHost(host);
}
host->setName(d->name());
QUrl url;
url.setScheme("cloud");
url.setHost(d->id());