曲线界面添加温度

This commit is contained in:
hm
2020-12-09 17:29:28 +08:00
parent 81be3445e8
commit 26e2dbf922
8 changed files with 192 additions and 176 deletions
+3 -4
View File
@@ -108,16 +108,15 @@ void Tools_Index1::on_pushButton_ExportLog_clicked()
{
QStringList l = StringModel->stringList();
//QDataStream data(log_file);
QDataStream data(log_file);
foreach (QString s, l) {
s.append("\n");
s.append("\r\n");
// log_file->write(s.toHtmlEscaped());
log_file->write(s.toUtf8());
}
log_file->close();
}
}