summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-11 10:56:42 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-11 10:58:01 -0700
commit1dee5e1723fb7af710356aa6f2831b4ea4a2c3bc (patch)
tree49987a0c46c0cad71276046cd82de9822a584424 /qt-ui
parent3e35a0067b2f196e6ed11ddfe586bca785343322 (diff)
downloadsubsurface-1dee5e1723fb7af710356aa6f2831b4ea4a2c3bc.tar.gz
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 <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
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");