use qt6 in arch builds (#4691)

* use qt6 in arch builds

* fix 6.4.0 deprecations
This commit is contained in:
ebbit1q 2022-10-31 23:26:13 +01:00 committed by GitHub
parent dec2a252fa
commit 3d4858b840
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 6 deletions

View file

@ -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();