summaryrefslogtreecommitdiff
path: root/widgets/displaytext.cpp
diff options
context:
space:
mode:
authortony mancill <tmancill@debian.org>2024-01-01 11:39:50 -0800
committertony mancill <tmancill@debian.org>2024-01-01 11:39:50 -0800
commitffea9660ba79a513401639a2f5d90e2fdc190fb8 (patch)
tree4e1abd6eca581d5baec48b86e213ae31138bcf5e /widgets/displaytext.cpp
parent393a486ee1d7e308a49f8e0b8c3a4b2f43223248 (diff)
New upstream version 2.7.0~rc3+repackupstream/2.7.0_rc3+repack
Diffstat (limited to 'widgets/displaytext.cpp')
-rwxr-xr-xwidgets/displaytext.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/widgets/displaytext.cpp b/widgets/displaytext.cpp
index e23d0aad..65225b63 100755
--- a/widgets/displaytext.cpp
+++ b/widgets/displaytext.cpp
@@ -387,6 +387,17 @@ QString DisplayText::appendWorkedB4 (QString message, QString call, QString cons
countryName.replace ("European", "EU");
countryName.replace ("African", "AF");
+ // assign WAE entities to the correct DXCC when "Include extra WAE entities" is not selected
+ if (!(m_config->include_WAE_entities())) {
+ countryName.replace ("Bear Is.", "Svalbard");
+ countryName.replace ("Shetland Is.", "Scotland");
+ countryName.replace ("AF Italy", "Italy");
+ countryName.replace ("Sicily", "Italy");
+ countryName.replace ("Vienna Intl Ctr", "Austria");
+ countryName.replace ("AF Turkey", "Turkey");
+ countryName.replace ("EU Turkey", "Turkey");
+ }
+
extra += countryName;
}
}