mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
delete overloaded signal in PendingCommand (#5477)
* remove overloaded signal since no one was using it * remove usages of qOverload * turns out new slot/signal syntax can ignore extra params
This commit is contained in:
parent
3a740f0bde
commit
2d02955f8b
11 changed files with 21 additions and 39 deletions
|
|
@ -51,8 +51,7 @@ void UserListManager::setOwnUserInfo(const ServerInfo_User &userInfo)
|
|||
void UserListManager::populateInitialOnlineUsers()
|
||||
{
|
||||
PendingCommand *pend = client->prepareSessionCommand(Command_ListUsers());
|
||||
connect(pend, qOverload<const Response &, const CommandContainer &, const QVariant &>(&PendingCommand::finished),
|
||||
this, &UserListManager::processListUsersResponse);
|
||||
connect(pend, &PendingCommand::finished, this, &UserListManager::processListUsersResponse);
|
||||
client->sendCommand(pend);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue