Support right-click on game list menu (#5522)

This commit is contained in:
Zach H 2025-01-25 09:03:29 -05:00 committed by GitHub
parent f6c31bf901
commit 37a0c00b3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 57 additions and 5 deletions

View file

@ -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 &current, const QModelIndex &previous);
void checkResponse(const Response &response);
@ -53,6 +57,7 @@ private:
void disableButtons();
void enableButtons();
void enableButtonsForIndex(const QModelIndex &current);
void joinGame(const bool isSpectator);
public:
GameSelector(AbstractClient *_client,