Clean up debug output and duplicates

This commit is contained in:
Simon Stürz 2017-11-22 23:27:09 +01:00 committed by Michael Zanetti
parent fff63c2b18
commit 1aa4fd3bba
2 changed files with 0 additions and 11 deletions

View File

@ -55,7 +55,6 @@ void CloudManager::setDeviceId(const QUuid &deviceId)
void CloudManager::setDeviceName(const QString &name)
{
qCDebug(dcAWS()) << "Set device name" << name;
m_deviceName = name;
m_awsConnector->setDeviceName(name);
}

View File

@ -197,16 +197,6 @@ void WebSocketServer::resetAvahiService()
return;
m_avahiService->resetService();
// Note: reversed order
QHash<QString, QString> txt;
txt.insert("jsonrpcVersion", JSON_PROTOCOL_VERSION);
txt.insert("serverVersion", GUH_VERSION_STRING);
txt.insert("manufacturer", "guh GmbH");
txt.insert("uuid", GuhCore::instance()->configuration()->serverUuid().toString());
txt.insert("name", GuhCore::instance()->configuration()->serverName());
txt.insert("sslEnabled", configuration().sslEnabled ? "true" : "false");
if (!m_avahiService->registerService(QString("guhIO-ws-%1").arg(configuration().id), configuration().port, "_ws._tcp", createTxtRecord())) {
qCWarning(dcWebServer()) << "Could not register avahi service for" << configuration();
}