Commit c7bcc058 authored by Bea Lam's avatar Bea Lam Committed by chriadam

[qtcontacts-sqlite] Use "?" instead of "!" for unknown display label group. Contributes to JB#44742

parent f7ff0b14
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
is within 'A'..'Z' it returns that character. is within 'A'..'Z' it returns that character.
(TODO: perform a unidecode transliteration first.) (TODO: perform a unidecode transliteration first.)
4) otherwise, the group is '!' 4) otherwise, the group is '?'
For example, if the preferred detail is For example, if the preferred detail is
QContactName::Type and the preferred field is QContactName::Type and the preferred field is
...@@ -110,7 +110,7 @@ QStringList DefaultDlgGenerator::displayLabelGroups() const ...@@ -110,7 +110,7 @@ QStringList DefaultDlgGenerator::displayLabelGroups() const
QStringLiteral("Y"), QStringLiteral("Y"),
QStringLiteral("Z"), QStringLiteral("Z"),
QStringLiteral("#"), QStringLiteral("#"),
QStringLiteral("!") QStringLiteral("?")
}; };
return groups; return groups;
} }
...@@ -130,8 +130,8 @@ QString DefaultDlgGenerator::displayLabelGroup(const QString &data) const ...@@ -130,8 +130,8 @@ QString DefaultDlgGenerator::displayLabelGroup(const QString &data) const
} }
if (group.isEmpty()) { if (group.isEmpty()) {
// unknown group. put in "other" group '!' // unknown group. put in "other" group '?'
group = QStringLiteral("!"); group = QStringLiteral("?");
} }
return group; return group;
......
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