Cleanup: remove includes from qthelper.h

To reduce interdependencies, remove the dive.h and divelist.h
includes in qthelper.h

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-07-15 23:44:39 +02:00 committed by Dirk Hohndel
parent 0136d76cf4
commit 8f119dcf72
14 changed files with 17 additions and 3 deletions

View file

@ -3,6 +3,7 @@
#include "desktop-widgets/command.h"
#include "core/display.h"
#include "core/qthelper.h"
#include "core/divelist.h"
#include "core/settings/qPrefDiveComputer.h"
#include "core/subsurface-string.h"
#include "core/uemis.h"

View file

@ -23,6 +23,7 @@
#include "desktop-widgets/command.h"
#include "core/metadata.h"
#include "core/tag.h"
#include "core/divelist.h" // for mark_divelist_changed
double MinMaxAvgWidget::average() const
{

View file

@ -8,6 +8,7 @@
#include "core/qthelper.h"
#include "core/statistics.h"
#include "core/display.h"
#include "core/divelist.h"
#define COMBO_CHANGED 0
#define TEXT_EDITED 1