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

Move plugin installer's settings to the [app] section #5511

Merged
merged 1 commit into from
Nov 2, 2017

Conversation

borysiasty
Copy link
Member

@borysiasty borysiasty commented Nov 2, 2017

@elpaso @NathanW2, so how do you like moving all the installer stuff to two groups within [app] section?

app/plugin_installer/
app/plugin_repositories/

It seems it's the first use of this section. I'll soft-code it using the QgsSettings.Section.App when this bug is fixed: https://issues.qgis.org/issues/17376

Note the second group can't be put inside the first one because of settings migration capabilities: https://issues.qgis.org/issues/17378

@elpaso
Copy link
Contributor

elpaso commented Nov 2, 2017

Makes sense to me.
Just curious why you didn't use QgsSettings::Section::App instead of hardcoding the app string.

@borysiasty
Copy link
Member Author

Just curious why you didn't use QgsSettings::Section::App instead of hardcoding the app string.

As I mentioned in the bug report above, QgsSettings::Section::App can't be used together with QgsSettings.beginGroup(). There is a few places I used beginGroup, so I'd have to completely drop it.

@borysiasty borysiasty merged commit 151fb08 into qgis:master Nov 2, 2017
@borysiasty borysiasty deleted the settings branch November 2, 2017 20:19
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