diff --git a/mainwindow.cpp b/mainwindow.cpp index 3bacc80..7ccb6a9 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -61,7 +61,7 @@ MainWindow::MainWindow(QWidget *parent) : else sendTimer.setInterval(5); sendTimer.start(); - progressSDTimer.setInterval(1000); + progressSDTimer.setInterval(1500); progressSDTimer.start(); tempWarning.setInterval(10000); @@ -386,7 +386,7 @@ void MainWindow::readSerial() if(currentLine > 0) currentLine -= data.split(':')[1].toInt(); if(currentLine < 0) currentLine = 0; } - else if(datd.startsWith("Done")) sdprinting = false; + else if(data.startsWith("Done")) sdprinting = false; else if(data.startsWith("SD printing byte")) { QFuture parseSDThread = QtConcurrent::run(this, &MainWindow::parseSDStatus, data); diff --git a/sdwindow.ui b/sdwindow.ui index 7686cb0..8d9bb54 100644 --- a/sdwindow.ui +++ b/sdwindow.ui @@ -6,7 +6,7 @@ 0 0 - 199 + 249 246