Made device names constant and fixed duplicates

This commit is contained in:
0xFEEDC0DE64 committed 2018-06-01 10:49:09 +02:00
1 parent bf71582aaf
commit eb0ad52ad6
6 files changed
+76 -68

No files matched your search

+1 -5
View File
@@ -105,9 +105,5 @@ void RelaisServer::newConnection()
if(!connection)
return;
auto client = new RelaisClient(connection, this);
m_clients.insert(client);
connect(client, &QObject::destroyed, this, [=](){
m_clients.remove(client);
});
new RelaisClient(connection, this);
}