summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-02-09 18:05:27 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-10 10:45:45 -0800
commitc69aab04f4d548a4e640bccba1e6d91770b7811d (patch)
tree4e01915532198024b87d68163e71de9e9d58fab8 /qt-ui
parent57e938d040d290f055f6b9551f390717d53a779d (diff)
downloadsubsurface-c69aab04f4d548a4e640bccba1e6d91770b7811d.tar.gz
Correctly set up the Planner state
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index f1a27a11a..a993667f9 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -56,11 +56,11 @@ MainWindow::MainWindow() : QMainWindow(),
PlannerSettingsWidget *plannerSettings = new PlannerSettingsWidget();
DivePlannerWidget *plannerWidget = new DivePlannerWidget();
- //DivePlannerDetails *plannerDetails = new DivePlannerDetails();
+ PlannerDetails *plannerDetails = new PlannerDetails();
registerApplicationState("Default", mainTab, diveListView, profileWidget, globe );
registerApplicationState("AddDive", mainTab, diveListView, profileWidget, globe );
- registerApplicationState("PlanDive", plannerWidget, plannerSettings, profileWidget, globe );
+ registerApplicationState("PlanDive", plannerWidget, plannerSettings, profileWidget, plannerDetails );
ui.multiFilter->hide();
// what is a sane order for those icons? we should have the ones the user is