Remove a no-longer-used parameter from calls to lookup().

This commit is contained in:
Joe Taylor 2020-06-07 13:32:18 -04:00
parent 2973c8dad8
commit 3ad2a4c277
2 changed files with 5 additions and 5 deletions

View File

@ -2066,7 +2066,7 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
break;
case Qt::Key_L:
if(e->modifiers() & Qt::ControlModifier) {
lookup(true);
lookup();
genStdMsgs(m_rpt);
return;
}
@ -4916,7 +4916,7 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
if (hisgrid.contains (grid_regexp)) {
if(ui->dxGridEntry->text().mid(0,4) != hisgrid) ui->dxGridEntry->setText(hisgrid);
}
lookup(false);
lookup();
m_hisGrid = ui->dxGridEntry->text();
QString rpt = message.report();
@ -5324,7 +5324,7 @@ void MainWindow::clearDX ()
m_QSOProgress = CALLING;
}
void MainWindow::lookup(bool lookupButtonClicked)
void MainWindow::lookup()
{
QString hisCall {ui->dxCallEntry->text()};
QString hisgrid0 {ui->dxGridEntry->text()};
@ -5364,7 +5364,7 @@ void MainWindow::lookup(bool lookupButtonClicked)
void MainWindow::on_lookupButton_clicked() //Lookup button
{
lookup(true);
lookup();
}
void MainWindow::on_addButton_clicked() //Add button

View File

@ -700,7 +700,7 @@ private:
void genStdMsgs(QString rpt, bool unconditional = false);
void genCQMsg();
void clearDX ();
void lookup(bool lookupButtonClicked);
void lookup();
void ba2msg(QByteArray ba, char* message);
void msgtype(QString t, QLineEdit* tx);
void stub();