summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-07-15 23:36:14 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-07-18 05:42:55 -0700
commit0136d76cf4fd5c62f4224d2d721fce2b78097104 (patch)
treeab781ff11e5eeb480f1fdf7d8e99bd4765a4b59a /desktop-widgets
parent16214e753adda16867184df8a57301a13f2e041c (diff)
downloadsubsurface-0136d76cf4fd5c62f4224d2d721fce2b78097104.tar.gz
Cleanup: move deco function declarations to deco.h
Another tiny step in making dive.h smaller: move function declarations to deco.h if these functions are defined in deco.c and don't directly concern dives. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/preferences/preferences_graph.cpp2
-rw-r--r--desktop-widgets/preferences/preferences_graph.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/desktop-widgets/preferences/preferences_graph.cpp b/desktop-widgets/preferences/preferences_graph.cpp
index 2b3c35135..74c248dc4 100644
--- a/desktop-widgets/preferences/preferences_graph.cpp
+++ b/desktop-widgets/preferences/preferences_graph.cpp
@@ -7,7 +7,7 @@
#include <QMessageBox>
#include "qt-models/models.h"
-#include "core/dive.h" // TODO: replace by deco.h
+#include "core/deco.h"
PreferencesGraph::PreferencesGraph() : AbstractPreferencesWidget(tr("Profile"), QIcon(":graph-icon"), 5)
{
diff --git a/desktop-widgets/preferences/preferences_graph.h b/desktop-widgets/preferences/preferences_graph.h
index 4fc9cd5b3..8b0ea1adc 100644
--- a/desktop-widgets/preferences/preferences_graph.h
+++ b/desktop-widgets/preferences/preferences_graph.h
@@ -23,7 +23,6 @@ private slots:
private:
Ui::PreferencesGraph *ui;
-
};
#endif