diff options
-rw-r--r-- | qt-ui/diveplanner.cpp | 5 | ||||
-rw-r--r-- | qt-ui/diveplanner.h | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index 3384ddd8f..a94c3daf8 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -332,12 +332,10 @@ void DivePlannerGraphics::decreaseDepth() void DivePlannerGraphics::decreaseTime() { if (timeLine->maximum() -10 < TIME_INITIAL_MAX){ - qDebug() << "oi"; return; } if (timeLine->maximum() - 10 < dpMaxTime){ qDebug() << timeLine->maximum() << dpMaxTime; - qDebug() << "Como?"; return; } minMinutes -= 10; @@ -595,7 +593,7 @@ void DivePlannerGraphics::mouseReleaseEvent(QMouseEvent* event) } } -DiveHandler::DiveHandler(): QGraphicsEllipseItem(), from(0), to(0) +DiveHandler::DiveHandler(): QGraphicsEllipseItem() { setRect(-5,-5,10,10); setFlag(QGraphicsItem::ItemIgnoresTransformations); @@ -616,7 +614,6 @@ void DiveHandler::mousePressEvent(QGraphicsSceneMouseEvent* event) void Ruler::setMaximum(double maximum) { - qDebug() << "Maximum set " << maximum; max = maximum; } diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index ccd81584b..b1da61cac 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -24,8 +24,6 @@ private: class DiveHandler : public QGraphicsEllipseItem{ public: DiveHandler(); - QGraphicsLineItem *from; - QGraphicsLineItem *to; int sec; int mm; protected: |