summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-11-25 07:55:22 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-12 15:52:40 -0800
commitcd33d88768a14f1ce9651fbd80a40c89aaaec91f (patch)
treee867fef008e311ebdfb92a9a61399ef67bd23e11 /desktop-widgets
parent674c20227b2ced3bfd9b3ab29060e7a2dd5829c3 (diff)
downloadsubsurface-cd33d88768a14f1ce9651fbd80a40c89aaaec91f.tar.gz
cleanup: remove unused macros in diveplanner.cpp
Clearly, these are artifacts. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/diveplanner.cpp6
-rw-r--r--desktop-widgets/diveplanner.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/desktop-widgets/diveplanner.cpp b/desktop-widgets/diveplanner.cpp
index 350371921..166783453 100644
--- a/desktop-widgets/diveplanner.cpp
+++ b/desktop-widgets/diveplanner.cpp
@@ -16,7 +16,6 @@
#include "qt-models/diveplannermodel.h"
#include <QGraphicsSceneMouseEvent>
-#include <QMessageBox>
#include <QSettings>
#include <QShortcut>
#ifndef NO_PRINTING
@@ -25,11 +24,6 @@
#include <QBuffer>
#endif
-#define TIME_INITIAL_MAX 30
-
-#define MAX_DEPTH M_OR_FT(150, 450)
-#define MIN_DEPTH M_OR_FT(20, 60)
-
DiveHandler::DiveHandler() : QGraphicsEllipseItem()
{
setRect(-5, -5, 10, 10);
diff --git a/desktop-widgets/diveplanner.h b/desktop-widgets/diveplanner.h
index 32c3d1a48..e0e2dc026 100644
--- a/desktop-widgets/diveplanner.h
+++ b/desktop-widgets/diveplanner.h
@@ -9,7 +9,6 @@
#include <QSignalMapper>
#include <QElapsedTimer>
-
class QListView;
class QModelIndex;
class DivePlannerPointsModel;