Commit 16aecd95 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix compile without depercated method

parent e75f012d
Pipeline #146713 passed with stages
in 3 minutes and 17 seconds
......@@ -104,7 +104,7 @@ endif()
add_definitions(-DTRANSLATION_DOMAIN=\"kitinerary\")
ecm_set_disabled_deprecation_versions(QT 5.15.2 KF 5.91.0)
ecm_set_disabled_deprecation_versions(QT 5.15.2 KF 5.92.0)
......
......@@ -47,7 +47,7 @@ static QString formatAddress(const PostalAddress &addr)
a.setLocality(addr.addressLocality());
a.setRegion(addr.addressRegion());
a.setCountry(addr.addressCountry());
return a.formattedAddress();
return a.formatted(KContacts::AddressFormatStyle::Postal);
}
static QString formatAddressSingleLine(const PostalAddress &addr)
......
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