From: Joel Holdsworth Date: Sat, 18 Jan 2014 10:11:26 +0000 (+0000) Subject: QWellArray: Removed dead code X-Git-Tag: pulseview-0.2.0~139 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=7cc05d0295b41755e38ecad57860582ea9c13e86;p=pulseview.git QWellArray: Removed dead code --- 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;