]> sigrok.org Git - pulseview.git/commitdiff
QWellArray: Removed dead code
authorJoel Holdsworth <redacted>
Sat, 18 Jan 2014 10:11:26 +0000 (10:11 +0000)
committerJoel Holdsworth <redacted>
Sat, 18 Jan 2014 10:11:26 +0000 (10:11 +0000)
pv/widgets/wellarray.cpp

index 6776e34f6b110dc7c2f457b528f6573cd08e387d..a5979db7183d79696a659483157beb1a84076705 100644 (file)
@@ -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;