From 7cc05d0295b41755e38ecad57860582ea9c13e86 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Sat, 18 Jan 2014 10:11:26 +0000 Subject: [PATCH] QWellArray: Removed dead code --- pv/widgets/wellarray.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pv/widgets/wellarray.cpp b/pv/widgets/wellarray.cpp index 6776e34f..a5979db7 100644 --- a/pv/widgets/wellarray.cpp +++ b/pv/widgets/wellarray.cpp @@ -286,17 +286,6 @@ void QWellArray::keyPressEvent(QKeyEvent* e) if(curRow < numRows()-1) setCurrent(curRow + 1, curCol); break; -#if 0 - // bad idea that shouldn't have been implemented; very counterintuitive - case Qt::Key_Return: - case Qt::Key_Enter: - /* - ignore the key, so that the dialog get it, but still select - the current row/col - */ - e->ignore(); - // fallthrough intended -#endif case Qt::Key_Space: setSelected(curRow, curCol); break; -- 2.30.2