[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [brprint3d] /: Update Values
From:       Lays Rodrigues <laysrodriguessilva () gmail ! com>
Date:       2015-12-01 1:35:04
Message-ID: E1a3ZqS-0000XT-UN () scm ! kde ! org
[Download RAW message or body]

Git commit 9e74a61e6e1ef5b5960904bab201df526429d818 by Lays Rodrigues.
Committed on 01/12/2015 at 01:28.
Pushed by laysrodrigues into branch 'master'.

Update Values

Set the value calculate by FilCount about the total of
filament use to millimeters instead of meters.

Signed-off-by: Lays Rodrigues <laysrodriguessilva@gmail.com>

M  +0    -1    ManualControlWidget.cpp

http://commits.kde.org/brprint3d/9e74a61e6e1ef5b5960904bab201df526429d818

diff --git a/ManualControlWidget.cpp b/ManualControlWidget.cpp
index 8f72771..ab5b07f 100755
--- a/ManualControlWidget.cpp
+++ b/ManualControlWidget.cpp
@@ -603,7 +603,6 @@ void ManualControlWidget::setFilCount(QString filePath){
     try{
         FilCount fil = FilCount(filePath.toStdString());
         totalSize = fil.getTotalSize();
-        totalSize/=1000;
         ui->lb_filamentQnt->setText(QString::number(totalSize));
         timeNeed = fil.getTimeInSeconds(ui->ds_printSpeed->value());
         timeNeed /=60;

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic