summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/demos/addressbook/addressbookmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/demos/addressbook/addressbookmodel.cpp b/examples/demos/addressbook/addressbookmodel.cpp
index 83422964..97f61d1e 100644
--- a/examples/demos/addressbook/addressbookmodel.cpp
+++ b/examples/demos/addressbook/addressbookmodel.cpp
@@ -116,7 +116,7 @@ void AddressBookModel::updateContacts()
QList<ContactEntry> tmpContacts;
const RestAccessManager::ContactsMap contactsMap = accessManager->getContacts();
std::transform(contactsMap.constKeyValueBegin(), contactsMap.constKeyValueEnd(),
- std::back_inserter(contacts), toContactEntry);
+ std::back_inserter(tmpContacts), toContactEntry);
this->beginInsertRows(this->index(-1, -1), 0, this->rowCount());
{