mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-19 08:11:09 -08: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