Commit 9ead4270 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

For departureCountry check departureLocation

Obviously :)


(cherry picked from commit ee623e02)
parent d5099a87
......@@ -16,7 +16,7 @@ using namespace KItinerary;
QString LocationHelper::departureCountry(const QVariant &res)
{
if (LocationUtil::isLocationChange(res)) {
return LocationUtil::address(LocationUtil::arrivalLocation(res)).addressCountry();
return LocationUtil::address(LocationUtil::departureLocation(res)).addressCountry();
}
return LocationUtil::address(LocationUtil::location(res)).addressCountry();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment