Skip to content

Commit

Permalink
ADI/ADX: Removed the unnecessary type conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
foldynl committed Feb 24, 2023
1 parent d853b41 commit 69b62b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion logformat/AdiFormat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ bool AdiFormat::importNext(QSqlRecord& record) {
record.setValue("cont", contact.take("cont").toString().toUpper());
record.setValue("dxcc", contact.take("dxcc"));
record.setValue("pfx", contact.take("pfx").toString().toUpper());
record.setValue("state", contact.take("state").toString());
record.setValue("state", contact.take("state"));
record.setValue("cnty", contact.take("cnty"));
record.setValue("iota", contact.take("iota").toString().toUpper());
record.setValue("qsl_rcvd", parseQslRcvd(contact.take("qsl_rcvd").toString()));
Expand Down
2 changes: 1 addition & 1 deletion logformat/AdxFormat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ bool AdxFormat::importNext(QSqlRecord &record)
record.setValue("cont", contact.take("cont").toString().toUpper());
record.setValue("dxcc", contact.take("dxcc"));
record.setValue("pfx", contact.take("pfx").toString().toUpper());
record.setValue("state", contact.take("state").toString());
record.setValue("state", contact.take("state"));
record.setValue("cnty", contact.take("cnty"));
record.setValue("iota", contact.take("iota").toString().toUpper());
record.setValue("qsl_rcvd", AdiFormat::parseQslRcvd(contact.take("qsl_rcvd").toString()));
Expand Down

0 comments on commit 69b62b9

Please sign in to comment.