summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/divelistview.cpp
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-09-04 17:10:11 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-04 15:02:07 -0700
commit12789a3f9ff81f77bda76ccb0cc6ba5aa6aa0ace (patch)
treeab46579096c92332df0ae6d9ccc986c6013e1a18 /desktop-widgets/divelistview.cpp
parent77577f717f5aad38ea8c4c41c10c181486c4337f (diff)
downloadsubsurface-12789a3f9ff81f77bda76ccb0cc6ba5aa6aa0ace.tar.gz
Desktop: buddies in the dive list
As proposed in RFC #1587, now also alllow buddies to be shown in the divelist. Fixes: #1587 Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'desktop-widgets/divelistview.cpp')
-rw-r--r--desktop-widgets/divelistview.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop-widgets/divelistview.cpp b/desktop-widgets/divelistview.cpp
index 57bc0d9e1..f1fb285ef 100644
--- a/desktop-widgets/divelistview.cpp
+++ b/desktop-widgets/divelistview.cpp
@@ -98,6 +98,9 @@ void DiveListView::calculateInitialColumnWidth(int col)
case DiveTripModel::PHOTOS:
sw = 5*em;
break;
+ case DiveTripModel::BUDDIES:
+ sw = 50*em;
+ break;
case DiveTripModel::LOCATION:
sw = 50*em;
break;