From 1dee5e1723fb7af710356aa6f2831b4ea4a2c3bc Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 11 Jun 2015 10:56:42 -0700 Subject: Revert "Dive site management: remove the profile view" This reverts commit ec8ba5f830efc01f2db627e82e34c353c0dd13f7. Turns out that moving the globeGps widget to a different quadrant breaks the parent relationship and that causes things not to work. I know that I tested this and didn't notice any issues, but I now can reproduce a broken default screen. So let's revert. Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/mainwindow.cpp') diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 26c09fb49..ac7981019 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, globeGps, diveListView, NULL ); + registerApplicationState("EditDiveSite",locationInformation, profileContainer, diveListView, globeGps ); setApplicationState("Default"); -- cgit v1.2.3-70-g09d2