Skip to content

Commit

Permalink
cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
aa5sh committed Sep 3, 2024
1 parent e5dd3b7 commit 98f7017
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions logformat/LogFormat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -640,23 +640,23 @@ void LogFormat::runQSLImport(QSLFrom fromService)
if ( QSLRecord.value("qsl_rcvd") != originalRecord.value("lotw_qsl_rcvd")
&& QSLRecord.value("qsl_rcvd").toString() == 'Y' )
{
DxccStatus status = Data::dxccStatus(QSLRecord.value("dxcc").toInt(), QSLRecord.value("band").toString(), QSLRecord.value("mode").toString());
DxccStatus status = Data::dxccStatus(QSLRecord.value("dxcc").toInt(), band.toString(), mode.toString());
QString DxccStatusStr = "";
if (status == DxccStatus::NewEntity )
{
DxccStatusStr = "(New Entity)";
}
if (status == DxccStatus::NewMode )
{
DxccStatusStr = "(New Mode " + QSLRecord.value("mode").toString() +")";
DxccStatusStr = "(New Mode " + mode.toString() +")";
}
if (status == DxccStatus::NewBandMode )
{
DxccStatusStr = "(New Band/Mode " + QSLRecord.value("band").toString() + " " + QSLRecord.value("mode").toString() + ")";
DxccStatusStr = "(New Band/Mode " + band.toString() + " " + mode.toString() + ")";
}
if (status == DxccStatus::NewSlot )
{
DxccStatusStr = "(New Slot " + QSLRecord.value("band").toString() + " " + QSLRecord.value("mode").toString() + ")";
DxccStatusStr = "(New Slot " + band.toString() + " " + mode.toString() + ")";
}

originalRecord.setValue("lotw_qsl_rcvd", QSLRecord.value("qsl_rcvd"));
Expand Down

0 comments on commit 98f7017

Please sign in to comment.