mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 09:04:53 -07:00
use qt6 in arch builds (#4691)
* use qt6 in arch builds * fix 6.4.0 deprecations
This commit is contained in:
parent
dec2a252fa
commit
3d4858b840
3 changed files with 11 additions and 6 deletions
|
|
@ -594,7 +594,7 @@ void Player::removePlayer(Player *player)
|
|||
void Player::playerListActionTriggered()
|
||||
{
|
||||
auto *action = static_cast<QAction *>(sender());
|
||||
auto *menu = static_cast<QMenu *>(action->parentWidget());
|
||||
auto *menu = static_cast<QMenu *>(action->parent());
|
||||
|
||||
Command_RevealCards cmd;
|
||||
const int otherPlayerId = action->data().toInt();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue