Code cleanup in keyPressEvent().

This commit is contained in:
Joe Taylor 2021-06-10 11:44:20 -04:00
parent b2dd8d5817
commit ed0279c226

View File

@ -2201,17 +2201,12 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
return;
}
break;
case Qt::Key_Z: //### Recover from hung decode() ?? ###
if(e->modifiers() & Qt::AltModifier) {
decodeDone();
return;
}
break; case Qt::Key_PageUp:
break;
case Qt::Key_PageDown:
band_changed(m_freqNominal-2000);
break; }
case Qt::Key_X:
if(e->modifiers() & Qt::AltModifier) {
// qDebug() << "Alt-X" << WSPR_message();
return;
}
}
QMainWindow::keyPressEvent (e);
}