mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 17:02:15 -07:00
turns out new slot/signal syntax can ignore extra params
This commit is contained in:
parent
663cd65fca
commit
c50338e73e
7 changed files with 16 additions and 21 deletions
|
|
@ -194,9 +194,7 @@ void GameSelector::actCreate()
|
|||
updateTitle();
|
||||
}
|
||||
|
||||
void GameSelector::checkResponse(const Response &response,
|
||||
const CommandContainer & /* commandContainer */,
|
||||
const QVariant & /* extraData */)
|
||||
void GameSelector::checkResponse(const Response &response)
|
||||
{
|
||||
// NB: We re-enable buttons for the currently selected game, which may not
|
||||
// be the same game as the one for which we are processing a response.
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ private slots:
|
|||
void actCreate();
|
||||
void actJoin();
|
||||
void actSelectedGameChanged(const QModelIndex ¤t, const QModelIndex &previous);
|
||||
void checkResponse(const Response &response, const CommandContainer &, const QVariant &);
|
||||
void checkResponse(const Response &response);
|
||||
|
||||
void ignoreListReceived(const QList<ServerInfo_User> &_ignoreList);
|
||||
void processAddToListEvent(const Event_AddToList &event);
|
||||
|
|
|
|||
|
|
@ -91,9 +91,7 @@ void ZoneViewZone::initializeCards(const QList<const ServerInfo_Card *> &cardLis
|
|||
}
|
||||
}
|
||||
|
||||
void ZoneViewZone::zoneDumpReceived(const Response &r,
|
||||
const CommandContainer & /* commandContainer */,
|
||||
const QVariant & /* extraData */)
|
||||
void ZoneViewZone::zoneDumpReceived(const Response &r)
|
||||
{
|
||||
const Response_DumpZone &resp = r.GetExtension(Response_DumpZone::ext);
|
||||
const int respCardListSize = resp.zone_info().card_list_size();
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ public slots:
|
|||
void setSortBy(CardList::SortOption _sortBy);
|
||||
void setPileView(int _pileView);
|
||||
private slots:
|
||||
void zoneDumpReceived(const Response &r, const CommandContainer &, const QVariant &);
|
||||
void zoneDumpReceived(const Response &r);
|
||||
signals:
|
||||
void beingDeleted();
|
||||
void optimumRectChanged();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue