From 7a654b6ec6df3201678161e32be10517bb66c964 Mon Sep 17 00:00:00 2001 From: NeoTheFox Date: Tue, 3 Mar 2015 22:50:19 +0300 Subject: [PATCH] minor tweaks --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 7fb3dc6..c364ed2 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -380,13 +380,13 @@ void MainWindow::readSerial() } if(data.startsWith("ok")) readyRecieve++; - else if(data.startsWith("wait")) readyRecieve = 1; else if(checkingTemperature && data.startsWith("T:")) { QFuture parseThread = QtConcurrent::run(this, &MainWindow::parseStatus, data); statusWatcher.setFuture(parseThread); //parseThread is very costly operation ui->tempLine->setText(data); } + else if(data.startsWith("wait")) readyRecieve = 1; else if(data.startsWith("Resend")) //Handle resend if requested { if(currentLine > 0) currentLine -= data.split(':')[1].toInt();