From ec8ba5f830efc01f2db627e82e34c353c0dd13f7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 10 Jun 2015 12:10:02 -0700 Subject: Dive site management: remove the profile view While this isn't what I really want (I wanted pictures of the dive site instead of the profile), at least this makes it clear that we aren't editing a dive but instead are looking at a site. Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui') diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index ac7981019..26c09fb49 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -113,7 +113,7 @@ MainWindow::MainWindow() : QMainWindow(), registerApplicationState("EditDive", mainTab, profileContainer, diveListView, globeGps ); registerApplicationState("PlanDive", plannerWidget, profileContainer, plannerSettings, plannerDetails ); registerApplicationState("EditPlannedDive", plannerWidget, profileContainer, diveListView, globeGps ); - registerApplicationState("EditDiveSite",locationInformation, profileContainer, diveListView, globeGps ); + registerApplicationState("EditDiveSite",locationInformation, globeGps, diveListView, NULL ); setApplicationState("Default"); -- cgit v1.2.3-70-g09d2