diff options
Diffstat (limited to 'desktop-widgets/mainwindow.h')
-rw-r--r-- | desktop-widgets/mainwindow.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h index efac8610e..252a95b98 100644 --- a/desktop-widgets/mainwindow.h +++ b/desktop-widgets/mainwindow.h @@ -13,6 +13,7 @@ #include <QUrl> #include <QUuid> #include <QProgressDialog> +#include <memory> #include "ui_mainwindow.h" #include "ui_plannerDetails.h" @@ -84,7 +85,7 @@ public: void exitEditState(); void editDiveSite(dive_site *ds); - MainTab *mainTab; + std::unique_ptr<MainTab> mainTab; PlannerDetails *plannerDetails; PlannerSettingsWidget *divePlannerSettingsWidget; ProfileWidget2 *graphics; |