change player API delay
This commit is contained in:
parent
dca79a061c
commit
1c933f2435
1 changed files with 3 additions and 3 deletions
|
@ -44,17 +44,17 @@ dbtBegin:
|
||||||
// Quick time scan
|
// Quick time scan
|
||||||
if (crewList.length() <= 3)
|
if (crewList.length() <= 3)
|
||||||
{
|
{
|
||||||
scanCrewMembersList(crewList, 3, 0);
|
scanCrewMembersList(crewList, 3, 1000);
|
||||||
emit playerNameUpdated();
|
emit playerNameUpdated();
|
||||||
}
|
}
|
||||||
else if (crewList.length() <= 5)
|
else if (crewList.length() <= 5)
|
||||||
{
|
{
|
||||||
scanCrewMembersList(crewList, 2, 0);
|
scanCrewMembersList(crewList, 2, 1000);
|
||||||
emit playerNameUpdated();
|
emit playerNameUpdated();
|
||||||
}
|
}
|
||||||
|
|
||||||
QEventLoop waitingLoop;
|
QEventLoop waitingLoop;
|
||||||
QTimer::singleShot(5000, &waitingLoop, SLOT(quit()));
|
QTimer::singleShot(10000, &waitingLoop, SLOT(quit()));
|
||||||
waitingLoop.exec();
|
waitingLoop.exec();
|
||||||
|
|
||||||
// Long time scan
|
// Long time scan
|
||||||
|
|
Loading…
Reference in a new issue