mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-03 12:03:55 -07:00
Support right-click on game list menu (#5522)
This commit is contained in:
parent
f6c31bf901
commit
37a0c00b3f
2 changed files with 57 additions and 5 deletions
|
|
@ -27,7 +27,11 @@ private slots:
|
|||
void actSetFilter();
|
||||
void actClearFilter();
|
||||
void actCreate();
|
||||
|
||||
void actJoin();
|
||||
void actSpectate();
|
||||
void customContextMenu(const QPoint &point);
|
||||
|
||||
void actSelectedGameChanged(const QModelIndex ¤t, const QModelIndex &previous);
|
||||
void checkResponse(const Response &response);
|
||||
|
||||
|
|
@ -53,6 +57,7 @@ private:
|
|||
void disableButtons();
|
||||
void enableButtons();
|
||||
void enableButtonsForIndex(const QModelIndex ¤t);
|
||||
void joinGame(const bool isSpectator);
|
||||
|
||||
public:
|
||||
GameSelector(AbstractClient *_client,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue