Emit handVisibleChanged() and move the attribute from player_info to player since it is dynamic.

Took 50 minutes

Took 7 seconds


Took 2 minutes
This commit is contained in:
Lukas Brübach 2025-09-11 20:57:25 +02:00
parent 93c15c8151
commit 0bd1f78391
8 changed files with 37 additions and 22 deletions

View file

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