[pim/itinerary] src/app: Also show EU roaming area warnings when no other location property changes

Volker Krause <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 5a6af37efce4d3f558a124491b951b57c434e830 by Volker Krause.
Committed on 25/07/2026 at 10:03.
Pushed by vkrause into branch 'master'.

Also show EU roaming area warnings when no other location property changes

That made the missing France go unnoticed so long, as moving their from
neighboring countries doesn't trigger any other warning (unless like CH
and UK they are not in the roaming area either).

M  +1    -1    src/app/timelinemodel.cpp

https://invent.kde.org/pim/itinerary/-/commit/5a6af37efce4d3f558a124491b951b57c434e830

diff --git a/src/app/timelinemodel.cpp b/src/app/timelinemodel.cpp
index e7b1d4eae..e556215db 100644
--- a/src/app/timelinemodel.cpp
+++ b/src/app/timelinemodel.cpp
@@ -526,7 +526,7 @@ void TimelineModel::updateInformationElements()
         }
         newCountry.setTimeZone(previousCountry.timeZone(), (*it).dt);
         newCountry.setTimeZone(timeZone((*it).endDateTime()), (*it).dt);
-        if (newCountry == previousCountry) {
+        if (newCountry == previousCountry && (!newCountry.leavingEURoaming() || previousCountry.leavingEURoaming())) {
             if (newCountry.timeZone().isValid()) {
                 previousCountry = newCountry;
             }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.