-
Notifications
You must be signed in to change notification settings - Fork 49
Fix QSettings initialization failure on startup when parsing invalid arguments #360
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
Conversation
6b86e35 to
ab02746
Compare
a522ca5 to
fb7b225
Compare
Moving bitcoin.cpp app setters before parsing command-line options; otherwise if invalid parameters are passed, QSetting initialization would fail and the corresponding error will be displayed on terminal.
fb7b225 to
e1b0798
Compare
|
Rebased. |
MarnixCroes
left a comment
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.
tested e1b0798 lgtm
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.
tACK e1b0798 on WSL Ubuntu 22.04 on signet no issues detected
johnny9
left a comment
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.
ACK e1b0798
Before changes:
qrc:/qml/controls/Theme.qml:13:5: QML Settings: Failed to initialize QSettings instance. Status code is: 1
qrc:/qml/controls/Theme.qml:13:5: QML Settings: The following application identifiers have not been set: QVector("organizationName", "organizationDomain")
After:
No qml errors seen
|
Thanks @MarnixCroes, @D33r-Gee and @johnny9 for testing the bugfix! |
…on startup when parsing invalid arguments c52b7e0 qml: Fix possible QSettings init failure on startup (pablomartin4btc) Pull request description: This fixes #361. After applying the fix, no QML source code errors should be displayed on the terminal:  ACKs for top commit: D33r-Gee: tACK bitcoin-core/gui-qml@c52b7e0 on WSL Ubuntu 22.04 on `signet` no issues detected johnny9: ACK c52b7e0 Tree-SHA512: ef7bc95782127df7f2f541eedab69c71fd6c1ee2e9d516a3003923b4e9869543c05f26297db5b945f2e40852e8b6cec4d3edc653805cfcd85254b922beb4703b
…on startup when parsing invalid arguments c52b7e01dea764ce8de1e6218eadee86ae0bbc71 qml: Fix possible QSettings init failure on startup (pablomartin4btc) Pull request description: This fixes #361. After applying the fix, no QML source code errors should be displayed on the terminal:  ACKs for top commit: D33r-Gee: tACK bitcoin-core/gui-qml@c52b7e0 on WSL Ubuntu 22.04 on `signet` no issues detected johnny9: ACK c52b7e01dea764ce8de1e6218eadee86ae0bbc71 Tree-SHA512: ef7bc95782127df7f2f541eedab69c71fd6c1ee2e9d516a3003923b4e9869543c05f26297db5b945f2e40852e8b6cec4d3edc653805cfcd85254b922beb4703b
This fixes #361.
After applying the fix, no QML source code errors should be displayed on the terminal: