From e156b00f05c99b990a5e482c23e172e168d80b74 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 24 Apr 2013 16:02:41 -0700 Subject: Fix column headings for divelist This looks better and is consistent with the Gtk version. Signed-off-by: Dirk Hohndel --- qt-ui/models.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'qt-ui') 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"); -- cgit v1.2.3-70-g09d2