mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-06 17:53:23 +08:00
Replace deprecated endl with Qt::endl
This commit is contained in:
committed by
Mat Sutcliffe
parent
1e633a5704
commit
9fa3221abc
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user