diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-07-21 10:03:04 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-07-21 10:03:04 -0300 |
commit | b36dfc7c4fce4b7b452ee352a866d340c19ff479 (patch) | |
tree | b4ddf2603afc31ea89392f4afb22c48ea0fcc663 /qt-ui | |
parent | a6025c8efd1ae83c68fdf65fbffa827802757f2f (diff) | |
download | subsurface-b36dfc7c4fce4b7b452ee352a866d340c19ff479.tar.gz |
Removed unused code.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui')
-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: |