Update name on every sync
This commit is contained in:
parent
ab2f247c76
commit
53679be274
@ -156,10 +156,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());
|
||||
|
||||
Reference in New Issue
Block a user