summaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget')
-rw-r--r--profile-widget/divecartesianaxis.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/profile-widget/divecartesianaxis.cpp b/profile-widget/divecartesianaxis.cpp
index 4a7b029ad..3941911de 100644
--- a/profile-widget/divecartesianaxis.cpp
+++ b/profile-widget/divecartesianaxis.cpp
@@ -4,13 +4,8 @@
#include "preferences/preferencesdialog.h"
#include "diveplotdatamodel.h"
#include "animationfunctions.h"
-#ifndef SUBSURFACE_MOBILE
-#include "mainwindow.h"
-#endif
#include "divelineitem.h"
#include "profilewidget2.h"
-#include <QDebug>
-#include <QGraphicsWidget>
QPen DiveCartesianAxis::gridPen()
{
@@ -149,11 +144,7 @@ void emptyList(QList<T *> &list, double steps)
void DiveCartesianAxis::updateTicks(color_indice_t color)
{
-#ifndef SUBSURFACE_MOBILE
if (!scene() || (!changed && !profileWidget->getPrintMode()))
-#else
- if (!scene() || !changed)
-#endif
return;
QLineF m = line();
// unused so far: