Replace deprecated endl with Qt::endl

This commit is contained in:
Roland Rossgotterer
2020-04-02 10:54:07 +02:00
committed by Mat Sutcliffe
parent 1e633a5704
commit 9fa3221abc
27 changed files with 346 additions and 346 deletions

View File

@@ -29,23 +29,23 @@ namespace BlackSample
BlackMisc::registerMetadata();
QScopedPointer<CFsuipc> fsuipc(new CFsuipc());
streamOut << "FSUIPC initialized" << endl;
streamOut << "FSUIPC initialized" << Qt::endl;
if (fsuipc->open())
{
streamOut << "FSUIPC connected" << endl;
streamOut << "FSUIPC connected" << Qt::endl;
}
else
{
streamOut << "FSUIPC NOT(!) connected" << endl;
streamOut << "Need FS WideClient?" << endl;
streamOut << "FSUIPC NOT(!) connected" << Qt::endl;
streamOut << "Need FS WideClient?" << Qt::endl;
return;
}
CSimulatedAircraft aircraft;
if (fsuipc->read(aircraft, true, true, true))
{
streamOut << "Aircraft read: " << aircraft.toQString(true) << endl;
streamOut << "Aircraft read: " << aircraft.toQString(true) << Qt::endl;
}
fsuipc->close();