aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-21 08:50:09 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-21 08:50:09 -0700
commit5e6ed53e40a6bedf5c88f175b27d809c7fdffaea (patch)
tree5feb7ac24267d71c9a931269b0cca04e39b4226f /qt-ui/diveplanner.h
parenta8888eaf26c9355f3f2d20c24526489e17d3404a (diff)
downloadsubsurface-5e6ed53e40a6bedf5c88f175b27d809c7fdffaea.tar.gz
In planner / add dive use 'ESC' to hide the gas selection popup
Not sure if there are other keys we should support. Signed-off-by: Dirk Hohndel <dirk@hohndel.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 0c91bcdef..81825c765 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -153,6 +153,7 @@ private slots:
void selectGas(const QModelIndex& index);
void pointInserted(const QModelIndex&, int start, int end);
void pointsRemoved(const QModelIndex&, int start, int end);
+ bool eventFilter(QObject *object, QEvent* event);
private:
void moveActiveHandler(const QPointF& MappedPos, const int pos);