曲线界面添加温度
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user