aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@digia.com>2014-02-07 12:24:45 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-14 09:16:35 +0100
commitb679b51e05e7c6cc0f10dfd6edcd41f56983276c (patch)
treeadace70419cfb0921ac1aad028ce758a65c3f126
parentb505062a89995ea8e336f76df248a6dff9e8f03b (diff)
Fix a typo in the address book example
Change-Id: Ic922da1e61101d37f2c359dd58d906b0bdcd30d9 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
-rw-r--r--examples/enginio/widgets/cloudaddressbook/addressbookmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/enginio/widgets/cloudaddressbook/addressbookmodel.cpp b/examples/enginio/widgets/cloudaddressbook/addressbookmodel.cpp
index d59b874..22f4335 100644
--- a/examples/enginio/widgets/cloudaddressbook/addressbookmodel.cpp
+++ b/examples/enginio/widgets/cloudaddressbook/addressbookmodel.cpp
@@ -117,7 +117,7 @@ QHash<int, QByteArray> AddressBookModel::roleNames() const
QHash<int, QByteArray> roles = EnginioModel::roleNames();
roles.insert(FirstNameRole, "firstName");
roles.insert(LastNameRole, "lastName");
- roles.insert(AddressRole, "email");
+ roles.insert(EmailRole, "email");
roles.insert(PhoneRole, "phone");
roles.insert(AddressRole, "address");
return roles;