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

fix QgsProject::readNumEntry() validity check #4112

Merged
merged 1 commit into from Feb 7, 2017

Conversation

nirvn
Copy link
Contributor

@nirvn nirvn commented Feb 6, 2017

Halfway through debugging a project load issue, I've stumbled on a tiny issue with the QgsProject::readNumEntry(), whereas it wrongly validates for a string conversion when it should check for an int one.

Not the end of the world, but we might as well fix this.

@nirvn
Copy link
Contributor Author

nirvn commented Feb 6, 2017

(ping @nyalldawson , @m-kuhn )

@nyalldawson
Copy link
Collaborator

Looks good! Can you add a unit test covering this?

@nirvn nirvn merged commit 6f2045f into qgis:master Feb 7, 2017
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.

None yet

2 participants