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

Refactor generic settings dialog #2565

Merged
merged 3 commits into from
Dec 1, 2014
Merged

Refactor generic settings dialog #2565

merged 3 commits into from
Dec 1, 2014

Conversation

danimo
Copy link
Contributor

@danimo danimo commented Dec 1, 2014

  • move items on top like on Mac OS (the right side is free for accounts now)
  • The account icon no longer reflects the current status (in prep for
    multi-account)

- move items on top like on Mac OS (right is free for accounts now)
- The account icon no longer reflects the current status (in prep for multi-account)
@danimo
Copy link
Contributor Author

danimo commented Dec 1, 2014

image

@danimo
Copy link
Contributor Author

danimo commented Dec 1, 2014

@dragotin This is what I still had in stock

@danimo
Copy link
Contributor Author

danimo commented Dec 1, 2014

/cc @jancborchardt

if( _accountSettings ) {
_accountSettings->setGeneralErrors(errors);
}
_accountSettings->setGeneralErrors(errors);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Please keep the if( _accountSettings ) { .... }

Copy link
Contributor Author

Choose a reason for hiding this comment

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

why? I cannot be null as it gets initialized in the ctor. if you like we can make the pointer const to ensure nobody messes with it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addressed now, please check if that's an acceptable solution. _protocolAction can't be trivially made const (not without adding more LOC than the check would take), so I'll use a check here.

@dragotin
Copy link
Contributor

dragotin commented Dec 1, 2014

I'd vote 👍 to merge into master

danimo added a commit that referenced this pull request Dec 1, 2014
@danimo danimo merged commit 3f5887c into master Dec 1, 2014
@danimo danimo deleted the accountsettings_itemsontop branch December 1, 2014 14:01
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