projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8470afa
)
QWellArray: Removed dead code
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 18 Jan 2014 10:11:26 +0000
(10:11 +0000)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 18 Jan 2014 10:11:26 +0000
(10:11 +0000)
pv/widgets/wellarray.cpp
patch
|
blob
|
history
diff --git
a/pv/widgets/wellarray.cpp
b/pv/widgets/wellarray.cpp
index 6776e34f6b110dc7c2f457b528f6573cd08e387d..a5979db7183d79696a659483157beb1a84076705 100644
(file)
--- 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;