fix: Deprecated QString::endl

This commit is contained in:
Sirius Bakke
2020-10-07 21:11:06 +02:00
parent 085bc8a5aa
commit 10f74bfa20
2 changed files with 2 additions and 2 deletions
@@ -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());
@@ -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());