1830 if (product->fermentables.at(j).added == FERMENTABLE_ADDED_BOIL) |
1830 if (product->fermentables.at(j).added == FERMENTABLE_ADDED_BOIL) |
1831 checkLine(&painter, &y, QString(tr("%1 kg `%2` at 10 minutes before end of boil")) |
1831 checkLine(&painter, &y, QString(tr("%1 kg `%2` at 10 minutes before end of boil")) |
1832 .arg(product->fermentables.at(j).amount * factor, 1, 'f', 3) |
1832 .arg(product->fermentables.at(j).amount * factor, 1, 'f', 3) |
1833 .arg(product->fermentables.at(j).name)); |
1833 .arg(product->fermentables.at(j).name)); |
1834 } |
1834 } |
1835 if (product->brew_cooling_method == CHILLER_TYPE_EMERSION) |
1835 if (product->brew_cooling_method == CHILLER_TYPE_IMMERSION) |
1836 checkLine(&painter, &y, QString(tr("Place emersion chiller at 10 minutes before end of boil"))); |
1836 checkLine(&painter, &y, QString(tr("Place immersion chiller at 10 minutes before end of boil"))); |
1837 } |
1837 } |
1838 for (int j = 0; j < product->hops.size(); j++) { |
1838 for (int j = 0; j < product->hops.size(); j++) { |
1839 if ((product->hops.at(j).useat == HOP_USEAT_BOIL || product->hops.at(j).useat == HOP_USEAT_AROMA) && product->hops.at(j).time == i) { |
1839 if ((product->hops.at(j).useat == HOP_USEAT_BOIL || product->hops.at(j).useat == HOP_USEAT_AROMA) && product->hops.at(j).time == i) { |
1840 if (i == 0) |
1840 if (i == 0) |
1841 checkLine(&painter, &y, QString(tr("%1 gr `%2` at flameout")).arg(product->hops.at(j).amount * 1000 * factor, 1, 'f', 2) |
1841 checkLine(&painter, &y, QString(tr("%1 gr `%2` at flameout")).arg(product->hops.at(j).amount * 1000 * factor, 1, 'f', 2) |