From d25e456fccabac55d3102f82524c26cb4d7bdc7c Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Thu, 1 Oct 2015 17:54:13 -0300 Subject: Hide trip location when launching Subsurface It was ugly to show trip and dive location when no dive was selected. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui') diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 70a5bad0a..33c5055bd 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -202,6 +202,8 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), ui.location, &DiveLocationLineEdit::fixPopupPosition); acceptingEdit = false; + + ui.diveTripLocation->hide(); } MainTab::~MainTab() -- cgit v1.2.3-70-g09d2