[pim/itinerary/release/26.08] 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 127662f117f7e088dcbed6565eaf8be163f026f0 by Volker Krause.
Committed on 26/07/2026 at 16:15.
Pushed by vkrause into branch 'release/26.08'.
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).
(cherry picked from commit 5a6af37efce4d3f558a124491b951b57c434e830)
M +1 -1 src/app/timelinemodel.cpp
https://invent.kde.org/pim/itinerary/-/commit/127662f117f7e088dcbed6565eaf8be163f026f0
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;
}