summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelistview.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/divelistview.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/divelistview.cpp')
-rw-r--r--qt-ui/divelistview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp
index 00906c6b4..6fd5dee10 100644
--- a/qt-ui/divelistview.cpp
+++ b/qt-ui/divelistview.cpp
@@ -25,7 +25,7 @@
#include <QFileDialog>
#include <string>
#include <iostream>
-
+#include "../qthelper.h"
DiveListView::DiveListView(QWidget *parent) : QTreeView(parent), mouseClickSelection(false), sortColumn(0), currentOrder(Qt::DescendingOrder), searchBox(this)
{