thread fixes

This commit is contained in:
Max-Wilhelm Bruker
2011-04-18 18:55:35 +02:00
parent e6fc20114e
commit 69fce1fb5d
7 changed files with 23 additions and 1 deletions

View File

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