Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 679311d5 authored by Laurent Montel's avatar Laurent Montel 😁

Fix test

parent d6180cf9
......@@ -262,8 +262,10 @@ QByteArray VCardParser::createVCards( const VCard::List &list )
idents = ( *cardIt ).identifiers();
//VERSION must be first
if (idents.contains(QLatin1String("VERSION"))) {
idents.swap(idents.indexOf(QLatin1String("VERSION")),0);
const QString str = idents.takeAt(idents.indexOf(QLatin1String("VERSION")));
idents.prepend(str);
}
for ( identIt = idents.constBegin(); identIt != idents.constEnd(); ++identIt ) {
lines = ( *cardIt ).lines( ( *identIt ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment