mutex removed, did not work
This commit is contained in:
parent
1067fcf353
commit
2dc83498a7
3 changed files with 3 additions and 10 deletions
|
|
@ -47,14 +47,10 @@ CrewDatabase::~CrewDatabase()
|
|||
|
||||
QStringList CrewDatabase::getCrews()
|
||||
{
|
||||
mutex.lock();
|
||||
return crewDB->childKeys();
|
||||
mutex.unlock();
|
||||
}
|
||||
|
||||
void CrewDatabase::addCrew(int crewID)
|
||||
{
|
||||
mutex.lock();
|
||||
crewDB->setValue(QString::number(crewID), crewID);
|
||||
mutex.unlock();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue