mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-05-01 14:47:27 +02:00
fix: Deprecated QString::endl
This commit is contained in:
parent
085bc8a5aa
commit
10f74bfa20
@ -309,7 +309,7 @@ void IC_ProgressPage::saveLog()
|
|||||||
}
|
}
|
||||||
QTextStream strm(&f);
|
QTextStream strm(&f);
|
||||||
QString txt = m_dialog->importLog->toPlainText();
|
QString txt = m_dialog->importLog->toPlainText();
|
||||||
strm << txt << endl;
|
strm << txt << '\n';
|
||||||
if (fwbdebug)
|
if (fwbdebug)
|
||||||
{
|
{
|
||||||
qDebug("%s",txt.toLatin1().constData());
|
qDebug("%s",txt.toLatin1().constData());
|
||||||
|
|||||||
@ -395,7 +395,7 @@ void ND_ProgressPage::saveLog()
|
|||||||
}
|
}
|
||||||
QTextStream strm(&f);
|
QTextStream strm(&f);
|
||||||
QString txt = m_dialog->discoveryLog->toPlainText();
|
QString txt = m_dialog->discoveryLog->toPlainText();
|
||||||
strm << txt << endl;
|
strm << txt << '\n';
|
||||||
if (fwbdebug)
|
if (fwbdebug)
|
||||||
{
|
{
|
||||||
qDebug("%s",txt.toLatin1().constData());
|
qDebug("%s",txt.toLatin1().constData());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user