mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 13:49:14 -07:00
thread fixes
This commit is contained in:
@@ -29,6 +29,12 @@ Server_Player::~Server_Player()
|
||||
clearZones();
|
||||
}
|
||||
|
||||
void Server_Player::moveToThread(QThread *thread)
|
||||
{
|
||||
QObject::moveToThread(thread);
|
||||
userInfo->moveToThread(thread);
|
||||
}
|
||||
|
||||
int Server_Player::newCardId()
|
||||
{
|
||||
QMutexLocker locker(&game->gameMutex);
|
||||
|
||||
Reference in New Issue
Block a user