summaryrefslogtreecommitdiffstats
path: root/src/contacts/qcontactmanagerengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/contacts/qcontactmanagerengine.cpp')
-rw-r--r--src/contacts/qcontactmanagerengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contacts/qcontactmanagerengine.cpp b/src/contacts/qcontactmanagerengine.cpp
index ebc96a89e..670fb0ecc 100644
--- a/src/contacts/qcontactmanagerengine.cpp
+++ b/src/contacts/qcontactmanagerengine.cpp
@@ -2328,7 +2328,7 @@ bool QContactManagerEngine::saveContacts(QList<QContact> *contacts, const QList<
// Prepare the list to save
QList<QContact> contactsToSave;
QList<int> savedToOriginalMap; // contactsToSave index to contacts index
- QSet<QContactDetail::DetailType> mask = typeMask.toSet();
+ QSet<QContactDetail::DetailType> mask(typeMask.begin(), typeMask.end());
for (int i = 0; i < contacts->count(); i++) {
// See if this is an existing contact or a new one