summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-07-04 11:16:42 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-07-04 11:16:42 -0300
commit932ee3da94856401477f1b3f1d58c26841f2bce8 (patch)
treefd9559cd2c187d3ae99532c46afaae7690876a65 /qt-ui/diveplanner.h
parentc23dd354b9811956407da6d2eca3edbcc4999127 (diff)
downloadsubsurface-932ee3da94856401477f1b3f1d58c26841f2bce8.tar.gz
Added a 'delete' action, with the keyboard.
Added a delete action from the keyboard, there's also a possibility to add the same action from the menu, but I frankly don't like much the idea. so, to delete a handler now, you need to select it ( ctrl + click ) then press the delete button. Multiple delection is also possible. 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 310ef737c..c6869feb4 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -78,6 +78,7 @@ protected:
qreal fromPercent(qreal percent, Qt::Orientation orientation);
private slots:
void keyEscAction();
+ void keyDeleteAction();
void increaseTime();
void increaseDepth();
void okClicked();