mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
cleanup: remove pref.h include in dive.h
If source files want to access preferences functions, they should include pref.h themselves. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
a719bfbeaf
commit
b984839836
4 changed files with 3 additions and 2 deletions
|
@ -13,6 +13,7 @@
|
|||
#include "core/divefilter.h"
|
||||
#include "core/divesite.h"
|
||||
#include "core/picture.h"
|
||||
#include "core/pref.h"
|
||||
#include "core/sample.h"
|
||||
#include "exportfuncs.h"
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include "core/dive.h"
|
||||
#include "core/pictureobj.h"
|
||||
#include "core/taxonomy.h"
|
||||
#include <QVector>
|
||||
#include <QAction>
|
||||
#include <vector>
|
||||
|
|
|
@ -233,6 +233,4 @@ Q_DECLARE_METATYPE(struct dive *);
|
|||
|
||||
#endif
|
||||
|
||||
#include "pref.h"
|
||||
|
||||
#endif // DIVE_H
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "dive.h"
|
||||
#include "display.h"
|
||||
#include "divelist.h"
|
||||
#include "pref.h"
|
||||
#include "subsurface-string.h"
|
||||
#include "table.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue