summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-07-04 11:06:28 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-07-04 11:06:28 -0300
commitc23dd354b9811956407da6d2eca3edbcc4999127 (patch)
tree63cef0eff740b41f762ddbbbc79a87bc6ed8253c /qt-ui/diveplanner.h
parentf457415f7ae8ff3cfd86dc5f629117c78fe56c3c (diff)
downloadsubsurface-c23dd354b9811956407da6d2eca3edbcc4999127.tar.gz
Added a shortcut to 'esc', so it clears the selection or cancels the plan.
Added a shortcut to the esc key, so it clears the selection, if there's no selection, it acts just like clicking on the 'cancel' button. Next: delete selected handlers. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 9c8a2b7a6..310ef737c 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -77,6 +77,7 @@ protected:
void deleteTemporaryDivePlan(struct divedatapoint* dp);
qreal fromPercent(qreal percent, Qt::Orientation orientation);
private slots:
+ void keyEscAction();
void increaseTime();
void increaseDepth();
void okClicked();