Skip to content

Commit

Permalink
[qtcontacts-sqlite] Use "?" instead of "!" for unknown display label …
Browse files Browse the repository at this point in the history
…group. Contributes to JB#44742
  • Loading branch information
blammit authored and Chris Adams committed Apr 15, 2019
1 parent f7ff0b1 commit c7bcc05
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/engine/defaultdlggenerator.cpp
Expand Up @@ -50,7 +50,7 @@
is within 'A'..'Z' it returns that character.
(TODO: perform a unidecode transliteration first.)
4) otherwise, the group is '!'
4) otherwise, the group is '?'
For example, if the preferred detail is
QContactName::Type and the preferred field is
Expand Down Expand Up @@ -110,7 +110,7 @@ QStringList DefaultDlgGenerator::displayLabelGroups() const
QStringLiteral("Y"),
QStringLiteral("Z"),
QStringLiteral("#"),
QStringLiteral("!")
QStringLiteral("?")
};
return groups;
}
Expand All @@ -130,8 +130,8 @@ QString DefaultDlgGenerator::displayLabelGroup(const QString &data) const
}

if (group.isEmpty()) {
// unknown group. put in "other" group '!'
group = QStringLiteral("!");
// unknown group. put in "other" group '?'
group = QStringLiteral("?");
}

return group;
Expand Down

0 comments on commit c7bcc05

Please sign in to comment.