From 0df0a3a7baf8169c904ae87d41dc66a7f2147845 Mon Sep 17 00:00:00 2001
From: Joakim Bygdell <j.bygdell@gmail.com>
Date: Sat, 21 Mar 2015 08:45:51 +0100
Subject: [PATCH] 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>
---
 qt-ui/divelistview.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp
index b905e9c..bacac71 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
-- 
1.9.5 (Apple Git-50.3)

