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

Multiple instances of preference panes may exist #2754

Closed
pjrobertson opened this issue Apr 29, 2022 · 0 comments
Closed

Multiple instances of preference panes may exist #2754

pjrobertson opened this issue Apr 29, 2022 · 0 comments

Comments

@pjrobertson
Copy link
Member

Just making a note here for future reference:

Preference panes (e.g. QSCatalogPrefPane) are instantiated in one of two ways:

  1. [QSCatalogPrefPane sharedInstance]
  2. By [nib instantiateNibWithOwner:self topLevelObjects:&objects]; in QSPreferencePane.m:L99

This means that two instances of QSCatalogPrefPane will be lying around, potentially causing issues with opening them up. There should only be one that exists.

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

No branches or pull requests

1 participant