-
Notifications
You must be signed in to change notification settings - Fork 663
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
Conversation
- 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)
@dragotin This is what I still had in stock |
/cc @jancborchardt |
if( _accountSettings ) { | ||
_accountSettings->setGeneralErrors(errors); | ||
} | ||
_accountSettings->setGeneralErrors(errors); | ||
} |
There was a problem hiding this comment.
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 ) { .... }
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
I'd vote 👍 to merge into master |
Refactor generic settings dialog
multi-account)