aboutsummaryrefslogtreecommitdiff
path: root/src/QXmppDataForm.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2011-01-11 16:55:12 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2011-01-11 16:55:12 +0000
commit038072051424f154d579ee620d7b221b07eb9eb3 (patch)
tree2d777f5a385b73c26c441c7bd6aa5d10f74873f9 /src/QXmppDataForm.cpp
parent776ba9791d0847d721c22fc5102f5f01c9515e0a (diff)
downloadqxmpp-038072051424f154d579ee620d7b221b07eb9eb3.tar.gz
make sure QXmppDataForm::Field::m_required is initialised
Diffstat (limited to 'src/QXmppDataForm.cpp')
-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)
{
}