From d3c913627d5c9a6ccf121d0fc1613c16e2beaf7e Mon Sep 17 00:00:00 2001 From: ucart <ucart_groundstation@iastate.edu> Date: Fri, 14 Apr 2017 20:57:33 -0500 Subject: [PATCH] fixed ascii issues --- groundStation/gui/MicroCART/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/groundStation/gui/MicroCART/mainwindow.cpp b/groundStation/gui/MicroCART/mainwindow.cpp index e69b03a4f..34726c796 100644 --- a/groundStation/gui/MicroCART/mainwindow.cpp +++ b/groundStation/gui/MicroCART/mainwindow.cpp @@ -369,7 +369,7 @@ void MainWindow::on_pbSaveWaypoints_clicked() QFile f(savePath); f.open(QIODevice::WriteOnly | QIODevice::Text); for (int i= 0; i < setpointList->rowCount(); i++) { - f.write(setpointList->item(i)->text().toAscii()); + f.write(setpointList->item(i)->text().toStdString().c_str()); f.write("\n"); } f.close(); -- GitLab