mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-13 04:55:44 +08:00
Fixes in samples
* removed qSleep / dependency of Qt test libs * QCoreApplication not required
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
#include "samplesfscommon.h"
|
||||
#include "blacksim/fscommon/aircraftcfgentrieslist.h"
|
||||
#include "blacksim/fscommon/aircraftindexer.h"
|
||||
|
||||
#include <QDebug>
|
||||
#include <QFuture>
|
||||
#include <QTest>
|
||||
#include <QTextStream>
|
||||
|
||||
namespace BlackSimTest
|
||||
@@ -49,7 +49,7 @@ namespace BlackSimTest
|
||||
{
|
||||
streamOut << ".";
|
||||
streamOut.flush();
|
||||
QTest::qSleep(1000 * 3);
|
||||
QCoreApplication::processEvents(QEventLoop::AllEvents, 1000 * 3);
|
||||
}
|
||||
while (!f.isFinished());
|
||||
streamOut << endl << f.result() << " entries" << endl;
|
||||
|
||||
Reference in New Issue
Block a user