Commit 4c41f0c1 authored by Anupam Basak's avatar Anupam Basak

Fix compilation warnings

parent 9967fc22
......@@ -92,7 +92,7 @@ void LinuxInterface::getContacts()
const auto uri = model.get(i, KPeople::PersonsModel::PersonUriRole).toString();
KPeople::PersonData person(uri);
auto contact = FMH::MODEL {
QMultiHash contact = FMH::MODEL {
{FMH::MODEL_KEY::ID, person.personUri()}, {FMH::MODEL_KEY::N, person.name()}, {FMH::MODEL_KEY::EMAIL, person.email()}, {FMH::MODEL_KEY::TEL, person.contactCustomProperty("phoneNumber").toString()},
// {FMH::MODEL_KEY::PHOTO, person.pictureUrl().toString()}
};
......
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