Skip to content

Commit

Permalink
QSO Detail: Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
foldynl committed Feb 21, 2025
1 parent 7bc7c4f commit 6f26268
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ui/QSODetailDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1585,13 +1585,11 @@ void QSODetailDialog::refreshDXStatTabs()
{
FCT_IDENTIFICATION;

const QString &currCallsign = ui->callsignEdit->text();
const DxccEntity &dxccEntity = Data::instance()->lookupDxccID(editedRecord->field("dxcc").value().toInt());
// const DxccEntity &dxccEntity = Data::instance()->lookupDxcc(currCallsign);
const Band &currBand = BandPlan::freq2Band(ui->freqTXEdit->value());

ui->dxccTableWidget->setDxcc(dxccEntity.dxcc, currBand);
ui->stationTableWidget->setDxCallsign(currCallsign, currBand);
ui->stationTableWidget->setDxCallsign(ui->callsignEdit->text(), currBand);
}

const QString QSODetailDialog::getButtonText(int index) const
Expand Down

0 comments on commit 6f26268

Please sign in to comment.