Fixed DisplayName conversion to vcard.
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>
Mon, 30 Jun 2014 14:16:19 +0000 (11:16 -0300)
committerRenato Araujo Oliveira Filho <renato.filho@canonical.com>
Tue, 1 Jul 2014 15:57:39 +0000 (17:57 +0200)
commit8f8c830c36c6839acb9d570189f64b42853ed02b
tree1b4221a950e3573618d688d6b7e1ff59d27920cc
parent03be9e28b081145887072748d2d19a3c69b16510
Fixed DisplayName conversion to vcard.

Based on VCARD spec "FN" field is only one string, the old implementation store a string list
and does not change the property type, that causes the following error:

Variant value is a QStringList but the property's value type is neither CompoundType or ListType

Changing the property to store a single string fixes the problem.

Change-Id: I7a7857fb2c498518d7940410d0bb65558e230fec
Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
src/versit/qvcard30writer.cpp
src/versit/qversitcontactexporter_p.cpp