profile: cleanup includes in tankitem.cpp

If possible, forward declare and move the include to the
.cpp file.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-12-23 12:39:07 +01:00 committed by Dirk Hohndel
parent 7da5719cab
commit 9c0b6436fd
2 changed files with 8 additions and 4 deletions

View file

@ -1,6 +1,8 @@
// SPDX-License-Identifier: GPL-2.0
#include "profile-widget/tankitem.h"
#include "profile-widget/divecartesianaxis.h"
#include "profile-widget/divetextitem.h"
#include "core/dive.h"
#include "core/event.h"
#include "core/profile.h"
#include <QPen>