Made device names constant and fixed duplicates
This commit is contained in:
1 parent
bf71582aaf
commit
eb0ad52ad6
6 files changed
+76
-68
No files matched your search
+1
-5
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user