diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-07-21 13:01:33 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-07-21 13:01:33 -0300 |
commit | 83c73168b035064899cc992398d55dd03b422b6f (patch) | |
tree | ffa405140d8dd6c2f122d797f27253e1926d7d67 /qt-ui | |
parent | 3e3d8b2210e19b36f94d85e90235d37e3ed2b37a (diff) | |
download | subsurface-83c73168b035064899cc992398d55dd03b422b6f.tar.gz |
Added a missing #UNDEF
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/diveplanner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index bc3e6c73d..fa959cf97 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -110,9 +110,9 @@ DivePlannerGraphics::DivePlannerGraphics(QWidget* parent): QGraphicsView(parent) ADDBTN(plusTime, ":plus", "" , 95, 5, tr("Increase minimum time by 10m"), increaseTime()); ADDBTN(lessDepth, ":minimum","" , 2, 5, tr("Decreases maximum depth by 10m"), decreaseDepth()); ADDBTN(lessTime, ":minimum","" , 92, 95, tr("Decreases minimum time by 10m"), decreaseTime()); - ADDBTN(okBtn, "", tr("Ok"), 1, 95, "", okClicked()); ADDBTN(cancelBtn, "", tr("Cancel"), 0,0, "", cancelClicked()); +#undef ADDBTN cancelBtn->setPos(okBtn->pos().x() + okBtn->boundingRect().width() + fromPercent(2, Qt::Horizontal), fromPercent(95, Qt::Vertical)); |