From d857f7745cc0ff8f200228a6f0582d74ea92b6dc Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Fri, 30 Nov 2018 12:20:06 -0500 Subject: [PATCH] Revert "Trial code for assigning F1 - F5 to contesting use." This reverts commit c8aee58fe083bca5fbf7fa28770b03a6315c0e41. --- widgets/mainwindow.cpp | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index fec7487fe..af8fca7d5 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -1843,7 +1843,6 @@ void MainWindow::keyPressEvent (QKeyEvent * e) } int n; - bool bContest = m_config.my_callsign()=="K1JT" and SpecOp::RTTY==m_config.special_op_id(); switch(e->key()) { case Qt::Key_D: @@ -1857,51 +1856,21 @@ void MainWindow::keyPressEvent (QKeyEvent * e) } break; case Qt::Key_F1: - if(bContest) { - auto_tx_mode(true); - on_txb6_clicked(); - return; - } else { on_actionOnline_User_Guide_triggered(); return; - } case Qt::Key_F2: - if(bContest) { - auto_tx_mode(true); - on_txb2_clicked(); - return; - } else { on_actionSettings_triggered(); return; - } case Qt::Key_F3: - if(bContest) { - auto_tx_mode(true); - on_txb3_clicked(); - return; - } else { on_actionKeyboard_shortcuts_triggered(); return; - } case Qt::Key_F4: - if(bContest) { - auto_tx_mode(true); - on_txb4_clicked(); - return; - } else { clearDX (); ui->dxCallEntry->setFocus(); return; - } case Qt::Key_F5: - if(bContest) { - auto_tx_mode(true); - on_txb5_clicked(); - return; - } else { on_actionSpecial_mouse_commands_triggered(); return; - } case Qt::Key_F6: if(e->modifiers() & Qt::ShiftModifier) { on_actionDecode_remaining_files_in_directory_triggered();