Commit 9c638196 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile against qt5.15

parent c6b32049
......@@ -124,7 +124,7 @@ bool ConsoleModel::saveScript(const QUrl& savePath)
if(correct) {
QTextStream out(&file);
foreach(const Analitza::Expression& exp, m_script)
out << exp.toString() << endl;
out << exp.toString() << QLatin1Char('\n');
}
return correct;
......@@ -159,11 +159,11 @@ bool ConsoleModel::saveLog(const QUrl& savePath) const
if(correct) {
QTextStream out(&file);
out << "<html>\n<head>" << *s_css << "</head>" << endl;
out << "<body>" << endl;
out << "<html>\n<head>" << *s_css << "</head>" << QLatin1Char('\n');
out << "<body>" << QLatin1Char('\n');
foreach(const QString &entry, m_htmlLog)
out << "<p>" << entry << "</p>" << endl;
out << "</body>\n</html>" << endl;
out << "<p>" << entry << "</p>" << QLatin1Char('\n');
out << "</body>\n</html>" << QLatin1Char('\n');
}
return correct;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment