change player API delay

This commit is contained in:
Rafael 2016-03-27 11:19:49 +02:00
parent dca79a061c
commit 1c933f2435

View file

@ -44,17 +44,17 @@ dbtBegin:
// Quick time scan
if (crewList.length() <= 3)
{
scanCrewMembersList(crewList, 3, 0);
scanCrewMembersList(crewList, 3, 1000);
emit playerNameUpdated();
}
else if (crewList.length() <= 5)
{
scanCrewMembersList(crewList, 2, 0);
scanCrewMembersList(crewList, 2, 1000);
emit playerNameUpdated();
}
QEventLoop waitingLoop;
QTimer::singleShot(5000, &waitingLoop, SLOT(quit()));
QTimer::singleShot(10000, &waitingLoop, SLOT(quit()));
waitingLoop.exec();
// Long time scan