summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-05-25 00:28:24 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-24 21:11:21 -0700
commit2d41c4da0931cdf061d734f9419e35a471bd0afd (patch)
tree1093f12d7fb6833593a7a2c232a95addbb1d3ce0
parentb27e56da0a425073666b9ffc725bfae43a813575 (diff)
downloadsubsurface-2d41c4da0931cdf061d734f9419e35a471bd0afd.tar.gz
Reenamble 'Delete Dive Point' on the planer / add
Just removed an #if 0 Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/diveplanner.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index e6780c164..53a1e7846 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -186,11 +186,9 @@ void DiveHandler::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
void DiveHandler::selfRemove()
{
-#if 0
setSelected(true);
ProfileWidget2 *view = qobject_cast<ProfileWidget2 *>(scene()->views().first());
view->keyDeleteAction();
-#endif
}
void DiveHandler::changeGas()