fix: Deprecated QString::endl

This commit is contained in:
Sirius Bakke 2020-10-07 19:38:52 +02:00
parent 085bc8a5aa
commit 10f74bfa20
2 changed files with 2 additions and 2 deletions

View File

@ -309,7 +309,7 @@ void IC_ProgressPage::saveLog()
}
QTextStream strm(&f);
QString txt = m_dialog->importLog->toPlainText();
strm << txt << endl;
strm << txt << '\n';
if (fwbdebug)
{
qDebug("%s",txt.toLatin1().constData());

View File

@ -395,7 +395,7 @@ void ND_ProgressPage::saveLog()
}
QTextStream strm(&f);
QString txt = m_dialog->discoveryLog->toPlainText();
strm << txt << endl;
strm << txt << '\n';
if (fwbdebug)
{
qDebug("%s",txt.toLatin1().constData());