Add text for the heart beat data on the table

This was missing on the UI and it was really hard to guess what it was.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-12-30 20:16:25 -02:00 committed by Dirk Hohndel
parent f3446fadc1
commit fed79490bf

View file

@ -127,6 +127,8 @@ QVariant DivePlotDataModel::headerData(int section, Qt::Orientation orientation,
return tr("pO₂");
case AMBPRESSURE:
return tr("Ambient pressure");
case HEARTBEAT:
return tr("Heart Beat");
}
if (role == Qt::DisplayRole && section >= TISSUE_1 && section <= TISSUE_16) {
return QString("Ceiling: %1").arg(section - TISSUE_1);