summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelistview.cpp
diff options
context:
space:
mode:
authorGravatar Joakim Bygdell <j.bygdell@gmail.com>2015-03-21 08:45:51 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-21 11:12:13 -0700
commit90905601c5e5755a74ab2d867f874710db4091c1 (patch)
treeb7c387b08cf387834f42bbc166cc28c875bbffff /qt-ui/divelistview.cpp
parent056b4baf1190b5300a338a4a0f5bef4b6cedd4b2 (diff)
downloadsubsurface-90905601c5e5755a74ab2d867f874710db4091c1.tar.gz
GUI fix for OSX. Reduce the padding of the divelist header so that we don't obscure the first dive in the list.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelistview.cpp')
-rw-r--r--qt-ui/divelistview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp
index b905e9c3c..bacac71db 100644
--- a/qt-ui/divelistview.cpp
+++ b/qt-ui/divelistview.cpp
@@ -44,7 +44,7 @@ DiveListView::DiveListView(QWidget *parent) : QTreeView(parent), mouseClickSelec
// Fixes for the layout needed for mac
#ifdef Q_OS_MAC
int ht = metrics.height();
- header()->setMinimumHeight(ht + 10);
+ header()->setMinimumHeight(ht + 4);
#endif
// TODO FIXME we need this to get the header names