Browse Source

Remove debug text

Neal Wilson 7 years ago
parent
commit
4ec8bd325f
1 changed files with 0 additions and 11 deletions
  1. 0
    11
      config/Windows/newbatch.xml

+ 0
- 11
config/Windows/newbatch.xml View File

@@ -307,7 +307,6 @@
307 307
             var profilebutton = findChildObject(this, 'load');
308 308
             profilebutton.setEnabled(false);
309 309
             roasted['currentIndexChanged(int)'].connect(function() {
310
-print("Roasted coffee item changed");
311 310
                 table.clear();
312 311
                 var query = new QSqlQuery();
313 312
                 var q = "SELECT EXISTS(SELECT 1 FROM item_files WHERE item = ";
@@ -332,16 +331,13 @@ print("Roasted coffee item changed");
332 331
                 var title = "Typica - [*]New Batch (";
333 332
                 title = title + roasted.currentText;
334 333
                 title = title + ")";
335
-print("Updating window title");
336 334
                 batch.windowTitle = title;
337
-print("Checking green coffees");
338 335
                 q = "SELECT unroasted_id FROM roasting_log WHERE roasted_id = ";
339 336
                 q = q + roasted.currentData();
340 337
                 q = q + " AND time = (SELECT max(time) FROM roasting_log WHERE roasted_id = ";
341 338
                 q = q + roasted.currentData();
342 339
                 q = q + ")";
343 340
                 query.exec(q);
344
-print("Updating green table");
345 341
                 if(query.next())
346 342
                 {
347 343
                     var unroasted_items = sqlToArray(query.value(0));
@@ -371,13 +367,11 @@ print("Updating green table");
371 367
                         }
372 368
                     }
373 369
                 }
374
-print("About to query product spec");
375 370
                 query.prepare("SELECT loss, tolerance, notes FROM roasting_specification WHERE item = :id1 AND time = (SELECT max(time) FROM roasting_specification WHERE item = :id2)");
376 371
                 query.bind(":id1", roasted.currentData());
377 372
                 query.bind(":id2", roasted.currentData());
378 373
                 query.exec();
379 374
                 var lossSpecDescription = "";
380
-print("About to read loss spec");
381 375
                 if(query.next()) {
382 376
                     if(query.value(0).length > 0) {
383 377
                         lossSpecDescription += (Number(query.value(0)) * 100).toFixed(2);
@@ -399,13 +393,8 @@ print("About to read loss spec");
399 393
                     lossspec.text = "";
400 394
                     specnotes.plainText = "";
401 395
                 }
402
-print("Updated roast spec");
403
-                //roastestimate.text = "";
404
-print("Cleared roast estimate");
405 396
                 query = query.invalidate();
406
-print("About to redraw tag");
407 397
 				drawTag();
408
-print("Tag redrawn");
409 398
             });
410 399
             var validateCapacity = function() {
411 400
                 if(checkCapacity == "true") {

Loading…
Cancel
Save