diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-04-24 16:02:41 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-04-24 16:02:41 -0700 |
commit | e156b00f05c99b990a5e482c23e172e168d80b74 (patch) | |
tree | e31f2aff712124d98d8e59a09f63641af3769c31 /qt-ui/models.cpp | |
parent | edab566105eba559c1a3976f18ca9be0a05db43b (diff) | |
download | subsurface-e156b00f05c99b990a5e482c23e172e168d80b74.tar.gz |
Fix column headings for divelist
This looks better and is consistent with the Gtk version.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r-- | qt-ui/models.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index 64ba01349..31610facd 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -462,12 +462,12 @@ QVariant DiveTripModel::headerData(int section, Qt::Orientation orientation, int break; case DEPTH: if (get_units()->length == units::METERS) - ret = tr("Depth (m)"); + ret = tr("m"); else - ret = tr("Depth (ft)"); + ret = tr("ft"); break; case DURATION: - ret = tr("Duration (h:mm:ss)"); + ret = tr("min"); break; case TEMPERATURE: if (get_units()->temperature == units::CELSIUS) @@ -477,9 +477,9 @@ QVariant DiveTripModel::headerData(int section, Qt::Orientation orientation, int break; case TOTALWEIGHT: if (get_units()->weight == units::KG) - ret = tr("Weight (kg)"); + ret = tr("kg"); else - ret = tr("Weight (lbs)"); + ret = tr("lbs"); break; case SUIT: ret = tr("Suit"); |