mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Better defaults for placement of dive stops.
This patch makes it impossible to create a dive stop outside of the scene - this, messing the complete planning system. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
88e7aa36be
commit
46483a096f
2 changed files with 20 additions and 7 deletions
|
@ -15,6 +15,8 @@ protected:
|
|||
virtual void mouseMoveEvent(QMouseEvent* event);
|
||||
void clear_generated_deco();
|
||||
void create_deco_stop();
|
||||
bool isPointOutOfBoundaries(QPointF point);
|
||||
|
||||
private:
|
||||
DivePlanner(QWidget* parent = 0);
|
||||
QList<QGraphicsLineItem*> lines;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue