aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/QXmppDataForm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/QXmppDataForm.cpp b/src/QXmppDataForm.cpp
index b174157b..e35d9be6 100644
--- a/src/QXmppDataForm.cpp
+++ b/src/QXmppDataForm.cpp
@@ -53,7 +53,8 @@ static field_type field_types[] = {
/// \param type
QXmppDataForm::Field::Field(QXmppDataForm::Field::Type type)
- : m_type(type)
+ : m_required(false),
+ m_type(type)
{
}