From c69aab04f4d548a4e640bccba1e6d91770b7811d Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 9 Feb 2015 18:05:27 -0200 Subject: [PATCH] Correctly set up the Planner state Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 4 ++-- 1 file 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