From 77715347c72ac6bc3a148400fcf5363f0b9b299b Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Wed, 29 Aug 2018 12:11:32 -0400 Subject: [PATCH] Reordered the query menu --- mainwindow.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index f46c8d4..9ecbd22 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -7336,17 +7336,6 @@ void MainWindow::buildQueryMenu(QMenu * menu, QString call){ if(m_config.transmit_directed()) toggleTx(true); }); - auto qsoQueryAction = menu->addAction(QString("%1 QSO [CALLSIGN]? - Query if selected callsign can communicate with [CALLSIGN]?").arg(call).trimmed()); - connect(qsoQueryAction, &QAction::triggered, this, [this](){ - - QString selectedCall = callsignSelected(); - if(selectedCall.isEmpty()){ - return; - } - - addMessageText(QString("%1 QSO [CALLSIGN]?").arg(selectedCall), true, true); - }); - menu->addSeparator(); auto snrQueryAction = menu->addAction(QString("%1? - What is my signal report?").arg(call)); @@ -7432,6 +7421,17 @@ void MainWindow::buildQueryMenu(QMenu * menu, QString call){ if(m_config.transmit_directed()) toggleTx(true); }); + auto qsoQueryAction = menu->addAction(QString("%1 QSO [CALLSIGN]? - Can you communicate directly with [CALLSIGN]?").arg(call).trimmed()); + connect(qsoQueryAction, &QAction::triggered, this, [this](){ + + QString selectedCall = callsignSelected(); + if(selectedCall.isEmpty()){ + return; + } + + addMessageText(QString("%1 QSO [CALLSIGN]?").arg(selectedCall), true, true); + }); + auto hashAction = menu->addAction(QString("%1#[MESSAGE] - Please ACK if you receive this message in its entirety").arg(call).trimmed()); hashAction->setDisabled(isAllCall); connect(hashAction, &QAction::triggered, this, [this](){