summaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-05-12 13:53:26 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-13 09:20:28 +0900
commit6ab05563b3c6564d0a5e88edd8b23cb149a1eb6f (patch)
tree4288464488fcb9119d3648664766cf8b9c7350d5 /qt-ui/downloadfromdivecomputer.cpp
parent2b06e4be671930bc22feb830f328871a31315d9f (diff)
downloadsubsurface-6ab05563b3c6564d0a5e88edd8b23cb149a1eb6f.tar.gz
Move DiveList related methods/classes to own file.
The DiveList classes were a partial mess (and some of it is still in a messy state). The classes that deal with it where done in 'qtHelpers.h', the extern global variable in dive.h, a few methods here and there. This concentrates most - but not all - functions in their own file. The reason for that is to make the new developer faster when looking for things: if it's a divecomputer related method, it should be in a single file, not scattered around. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.cpp')
-rw-r--r--qt-ui/downloadfromdivecomputer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp
index 4f93cefa3..bc829249c 100644
--- a/qt-ui/downloadfromdivecomputer.cpp
+++ b/qt-ui/downloadfromdivecomputer.cpp
@@ -1,9 +1,10 @@
#include "downloadfromdivecomputer.h"
-
+#include "../divecomputer.h"
#include "../libdivecomputer.h"
#include "../helpers.h"
#include "../display.h"
#include "../divelist.h"
+
#include "mainwindow.h"
#include <cstdlib>
#include <QThread>