[Player] Pull handVisible out of player_info and let graphics_item just determine this on its own. (#6911)

Took 12 minutes


Took 15 seconds

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
BruebachL 2026-05-19 12:10:19 +02:00 committed by GitHub
parent 7a5b2e9f0e
commit af2f888293
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 20 deletions

View file

@ -22,7 +22,6 @@ public:
int id;
bool local;
bool judge;
bool handVisible;
int getId() const
{
@ -51,16 +50,6 @@ public:
return judge;
}
void setHandVisible(bool _handVisible)
{
handVisible = _handVisible;
}
bool getHandVisible() const
{
return handVisible;
}
QString getName() const
{
return QString::fromStdString(userInfo->name());