Fix qt endl

pull/2/head
reionwong 4 years ago
parent 9550c53c05
commit 380e509df1

@ -331,7 +331,12 @@ gotpty:
!d->chownpty(true)) { !d->chownpty(true)) {
qWarning() qWarning()
<< "chownpty failed for device " << ptyName << "::" << d->ttyName << "chownpty failed for device " << ptyName << "::" << d->ttyName
<< "\nThis means the communication can be eavesdropped." << Qt::endl; << "\nThis means the communication can be eavesdropped."
#if QT_VERSION >= 0x050e00
<< Qt::endl;
#else
<< endl;
#endif
} }
#if defined (HAVE__GETPTY) || defined (HAVE_GRANTPT) #if defined (HAVE__GETPTY) || defined (HAVE_GRANTPT)

Loading…
Cancel
Save