diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-02-09 18:05:27 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-10 10:45:45 -0800 |
commit | c69aab04f4d548a4e640bccba1e6d91770b7811d (patch) | |
tree | 4e01915532198024b87d68163e71de9e9d58fab8 /qt-ui/mainwindow.cpp | |
parent | 57e938d040d290f055f6b9551f390717d53a779d (diff) | |
download | subsurface-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/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 4 |
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 |