summaryrefslogtreecommitdiffstats
path: root/core/dive.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-02-24 23:28:13 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-02-26 19:06:02 +0200
commitcd5e17cf79c2f1eb896efd0436c103221de446ae (patch)
tree35617137ebf4886994d8eaf106f7e1ead97eccb0 /core/dive.c
parente2a6b96db8f7c73ad6fca71dc3d943deeda198da (diff)
downloadsubsurface-cd5e17cf79c2f1eb896efd0436c103221de446ae.tar.gz
Cleanup: Unify qthelper.h and qthelperfromc.h
Since all qt-helpers are defined in qthelper.cpp, there seems to be no reason to have two include files. By unifying the two files, duplication and inconsistencies are removed. The C++-only part is simply compiled away with #ifdefs. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.c')
-rw-r--r--core/dive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.c b/core/dive.c
index f3d5981c9..528cf9efa 100644
--- a/core/dive.c
+++ b/core/dive.c
@@ -10,7 +10,7 @@
#include "libdivecomputer.h"
#include "device.h"
#include "divelist.h"
-#include "qthelperfromc.h"
+#include "qthelper.h"
/* one could argue about the best place to have this variable -
* it's used in the UI, but it seems to make the most sense to have it