mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
Refactor files in src/server to new Qt Slot/Signal syntax (#5831)
* Refactor files in src/server to new Qt Slot/Signal syntax * fix deprecation warning
This commit is contained in:
parent
728c87589f
commit
15415afa9a
10 changed files with 84 additions and 116 deletions
|
|
@ -10,7 +10,7 @@ LocalClient::LocalClient(LocalServerInterface *_lsi,
|
|||
QObject *parent)
|
||||
: AbstractClient(parent), lsi(_lsi)
|
||||
{
|
||||
connect(lsi, SIGNAL(itemToClient(const ServerMessage &)), this, SLOT(itemFromServer(const ServerMessage &)));
|
||||
connect(lsi, &LocalServerInterface::itemToClient, this, &LocalClient::itemFromServer);
|
||||
|
||||
userName = _playerName;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue