Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nemo-qml-plugin-contacts] Delegate the ordering of first and last names... #120

Merged
merged 1 commit into from
Mar 5, 2015

Conversation

matthewvogt
Copy link
Contributor

... to libcontacts

Centralize the logic for presenting name tokens.

Depends on: nemomobile/libcontacts#101

…mes to libcontacts

Centralize the logic for presenting name tokens.
@@ -183,9 +183,6 @@ void SeasidePerson::setFirstName(const QString &name)

emit firstNameChanged();

const bool firstNameFirst(SeasideCache::displayLabelOrder() == SeasideCache::FirstNameFirst);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this was previously necessary - recalculateDisplayLabel() will emit both primaryNameChanged() and secondaryNameChanged() if the display label changes, and I don't think it's possible to change either first or last name without changing the derived display label.

@blammit
Copy link
Contributor

blammit commented Mar 5, 2015

LGTM

matthewvogt added a commit that referenced this pull request Mar 5, 2015
[nemo-qml-plugin-contacts] Delegate the ordering of first and last names...
@matthewvogt matthewvogt merged commit 58cf40e into nemomobile:master Mar 5, 2015
@matthewvogt matthewvogt deleted the script-name-ordering branch March 5, 2015 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants