Correctly set up the Planner state

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-02-09 18:05:27 -02:00 committed by Dirk Hohndel
parent 57e938d040
commit c69aab04f4

View file

@ -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