mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 19:41:30 +00:00
Quick whitespace cleanup
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9ddef367b5
commit
1a1cbc296b
1 changed files with 16 additions and 18 deletions
|
@ -72,8 +72,7 @@ DivePlannerGraphics::DivePlannerGraphics(QWidget *parent) : QGraphicsView(parent
|
||||||
timeLine->setMaximum(TIME_INITIAL_MAX);
|
timeLine->setMaximum(TIME_INITIAL_MAX);
|
||||||
timeLine->setTickInterval(10);
|
timeLine->setTickInterval(10);
|
||||||
timeLine->setColor(getColor(TIME_GRID));
|
timeLine->setColor(getColor(TIME_GRID));
|
||||||
timeLine->setLine(
|
timeLine->setLine(fromPercent(10, Qt::Horizontal),
|
||||||
fromPercent(10, Qt::Horizontal),
|
|
||||||
fromPercent(85, Qt::Vertical),
|
fromPercent(85, Qt::Vertical),
|
||||||
fromPercent(90, Qt::Horizontal),
|
fromPercent(90, Qt::Horizontal),
|
||||||
fromPercent(85, Qt::Vertical));
|
fromPercent(85, Qt::Vertical));
|
||||||
|
@ -87,8 +86,7 @@ DivePlannerGraphics::DivePlannerGraphics(QWidget *parent) : QGraphicsView(parent
|
||||||
depthLine->setMinimum(0);
|
depthLine->setMinimum(0);
|
||||||
depthLine->setMaximum(M_OR_FT(40, 120));
|
depthLine->setMaximum(M_OR_FT(40, 120));
|
||||||
depthLine->setTickInterval(M_OR_FT(10, 30));
|
depthLine->setTickInterval(M_OR_FT(10, 30));
|
||||||
depthLine->setLine(
|
depthLine->setLine(fromPercent(10, Qt::Horizontal),
|
||||||
fromPercent(10, Qt::Horizontal),
|
|
||||||
fromPercent(10, Qt::Vertical),
|
fromPercent(10, Qt::Vertical),
|
||||||
fromPercent(10, Qt::Horizontal),
|
fromPercent(10, Qt::Horizontal),
|
||||||
fromPercent(85, Qt::Vertical));
|
fromPercent(85, Qt::Vertical));
|
||||||
|
|
Loading…
Reference in a new issue