Removed unused code.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-07-21 10:03:04 -03:00
parent a6025c8efd
commit b36dfc7c4f
2 changed files with 1 additions and 6 deletions

View file

@ -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;
}

View file

@ -24,8 +24,6 @@ private:
class DiveHandler : public QGraphicsEllipseItem{
public:
DiveHandler();
QGraphicsLineItem *from;
QGraphicsLineItem *to;
int sec;
int mm;
protected: