desktop: make MainWindow::graphics private

There are no more external users of the profile. Make it private.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-04-08 08:03:23 +02:00 committed by Dirk Hohndel
parent 1a9300fed0
commit c466a8f044

View file

@ -80,7 +80,6 @@ public:
std::unique_ptr<MainTab> mainTab;
std::unique_ptr<PlannerWidgets> plannerWidgets;
std::unique_ptr<StatsWidget> statistics;
ProfileWidget2 *graphics;
std::unique_ptr<DiveListView> diveList;
std::unique_ptr<QWidget> profileContainer;
std::unique_ptr<MapWidget> mapWidget;
@ -171,6 +170,7 @@ private:
FilterWidget filterWidget;
std::unique_ptr<QSplitter> topSplitter;
std::unique_ptr<QSplitter> bottomSplitter;
ProfileWidget2 *graphics;
QAction *actionNextDive;
QAction *actionPreviousDive;
QAction *undoAction;