mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Added a missing #UNDEF
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
3e3d8b2210
commit
83c73168b0
1 changed files with 1 additions and 1 deletions
|
@ -110,9 +110,9 @@ DivePlannerGraphics::DivePlannerGraphics(QWidget* parent): QGraphicsView(parent)
|
||||||
ADDBTN(plusTime, ":plus", "" , 95, 5, tr("Increase minimum time by 10m"), increaseTime());
|
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(lessDepth, ":minimum","" , 2, 5, tr("Decreases maximum depth by 10m"), decreaseDepth());
|
||||||
ADDBTN(lessTime, ":minimum","" , 92, 95, tr("Decreases minimum time by 10m"), decreaseTime());
|
ADDBTN(lessTime, ":minimum","" , 92, 95, tr("Decreases minimum time by 10m"), decreaseTime());
|
||||||
|
|
||||||
ADDBTN(okBtn, "", tr("Ok"), 1, 95, "", okClicked());
|
ADDBTN(okBtn, "", tr("Ok"), 1, 95, "", okClicked());
|
||||||
ADDBTN(cancelBtn, "", tr("Cancel"), 0,0, "", cancelClicked());
|
ADDBTN(cancelBtn, "", tr("Cancel"), 0,0, "", cancelClicked());
|
||||||
|
#undef ADDBTN
|
||||||
|
|
||||||
cancelBtn->setPos(okBtn->pos().x() + okBtn->boundingRect().width()
|
cancelBtn->setPos(okBtn->pos().x() + okBtn->boundingRect().width()
|
||||||
+ fromPercent(2, Qt::Horizontal), fromPercent(95, Qt::Vertical));
|
+ fromPercent(2, Qt::Horizontal), fromPercent(95, Qt::Vertical));
|
||||||
|
|
Loading…
Add table
Reference in a new issue