mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Removed unused code.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
a6025c8efd
commit
b36dfc7c4f
2 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -24,8 +24,6 @@ private:
|
|||
class DiveHandler : public QGraphicsEllipseItem{
|
||||
public:
|
||||
DiveHandler();
|
||||
QGraphicsLineItem *from;
|
||||
QGraphicsLineItem *to;
|
||||
int sec;
|
||||
int mm;
|
||||
protected:
|
||||
|
|
Loading…
Reference in a new issue