From fad2c570bca80c46ab4796755784efbc875a0436 Mon Sep 17 00:00:00 2001 From: NeoTheFox Date: Wed, 4 Mar 2015 21:45:04 +0300 Subject: [PATCH] Minor UI tweaks Cleanup --- mainwindow.cpp | 6 +----- sdwindow.ui | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 175eaa7..0d48c96 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -210,7 +210,7 @@ void MainWindow::serialconnect() ui->progressBar->setValue(0); ui->controlBox->setDisabled(false); ui->consoleGroup->setDisabled(false); - if(checkingTemperature) injectCommand("M105"); + //if(checkingTemperature) injectCommand("M105"); } } @@ -670,10 +670,6 @@ TemperatureReadings MainWindow::parseStatus(QByteArray data) btmp+=data.at(i); } - //ui->extruderlcd->display(extmp.toDouble()); //Not needed here, moved to updateStatus(); - //ui->bedlcd->display(btmp.toDouble()); - //sinceLastTemp.restart(); - TemperatureReadings t; t.e = extmp.toDouble(); t.b = btmp.toDouble(); diff --git a/sdwindow.ui b/sdwindow.ui index d295862..880aaba 100644 --- a/sdwindow.ui +++ b/sdwindow.ui @@ -11,7 +11,7 @@ - Dialog + Print from SD