aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppDataForm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/QXmppDataForm.cpp')
-rw-r--r--src/base/QXmppDataForm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/QXmppDataForm.cpp b/src/base/QXmppDataForm.cpp
index a6c5cca9..74c176c5 100644
--- a/src/base/QXmppDataForm.cpp
+++ b/src/base/QXmppDataForm.cpp
@@ -880,7 +880,7 @@ void QXmppDataForm::parse(const QDomElement &element)
for (auto element = fieldElement.firstChildElement("option");
!element.isNull();
element = element.nextSiblingElement("option")) {
- options << QPair(element.attribute("label"), element.firstChildElement("value").text());
+ options << qMakePair(element.attribute("label"), element.firstChildElement("value").text());
}
field.setOptions(options);
}