[pim/itinerary] /: Add France to the EU roaming list
Volker Krause <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 402218bb0fb38ae8bcf8daab916a9d27bb68933b by Volker Krause.
Committed on 25/07/2026 at 09:45.
Pushed by vkrause into branch 'master'.
Add France to the EU roaming list
No idea how we missed that, and no idea yet why that didn't trigger for me
when crossing into France.
M +2 -0 autotests/locationinformationtest.cpp
M +1 -0 src/app/locationinformation.cpp
https://invent.kde.org/pim/itinerary/-/commit/402218bb0fb38ae8bcf8daab916a9d27bb68933b
diff --git a/autotests/locationinformationtest.cpp b/autotests/locationinformationtest.cpp
index 0ab5e7ff5..5b864774e 100644
--- a/autotests/locationinformationtest.cpp
+++ b/autotests/locationinformationtest.cpp
@@ -88,6 +88,8 @@ private Q_SLOTS:
QTest::newRow("DE2CH") << u"DE"_s << u"CH"_s << true;
QTest::newRow("CH2DE") << u"CH"_s << u"DE"_s << false;
QTest::newRow("CH2CA") << u"CH"_s << u"CA"_s << false;
+ QTest::newRow("HU2FR") << u"HU"_s << u"FR"_s << false;
+ QTest::newRow("DE2FR") << u"DE"_s << u"FR"_s << false;
}
void testEURoaming()
{
diff --git a/src/app/locationinformation.cpp b/src/app/locationinformation.cpp
index 0a0bac1d8..368449107 100644
--- a/src/app/locationinformation.cpp
+++ b/src/app/locationinformation.cpp
@@ -45,6 +45,7 @@ static constexpr const QLatin1StringView eu_roaming_map[] = {
"EE"_L1,
"ES"_L1,
"FI"_L1,
+ "FR"_L1,
"GR"_L1,
"HR"_L1,
"HU"_L1,