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

For departureCountry check departureLocation

Obviously :)
parent b0fed008
...@@ -16,7 +16,7 @@ using namespace KItinerary; ...@@ -16,7 +16,7 @@ using namespace KItinerary;
QString LocationHelper::departureCountry(const QVariant &res) QString LocationHelper::departureCountry(const QVariant &res)
{ {
if (LocationUtil::isLocationChange(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(); 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