qt: Fix --disable-wallet build and --disablewallet mode#3762
Conversation
PastaPastaPasta
left a comment
There was a problem hiding this comment.
Tested running a "--disable-wallet" build, seems to work as expected, however, note, the dark mode isn't applied properly to it. Also tested running qt with "--disablewallet", and worked in the same way as the disable-wallet build. See one comment.
|
Looks like it works as expected now 👍 But i guess instead of setting the parent to |
|
Do these changes make sense to be done upstream? |
|
Also, this should have the 17 milestone no? |
Should be |
2ee0168
|
Rebased to fix merge conflicts after #3682 |
Console is not showing up in --disable-wallet build and it's crashing in --disablewallet mode before this commit.
… a central widget This partially reverts the initial commit.
|
Rebased again (because of #3771) |
* Fix --disable-wallet build and --disablewallet mode Console is not showing up in --disable-wallet build and it's crashing in --disablewallet mode before this commit. * Use nullptr * Load a stylesheet for the RPCConsole when it's not going to be set as a central widget This partially reverts the initial commit. * Fix QMainWindow dark/light styles * Avoid implicit pointer to bool conversions * qt: Set RPCConsole's window flags based on wallet availability * multi-line early returns * Bring back ifdef to fix a recently introduced crash Introduced in dashpay@2856f46#diff-f63c3d5094d55f88dbd1967774f85838b3aee5a40540b8c82b924574bca772a0R203 Co-authored-by: xdustinface <xdustinfacex@gmail.com>
* Fix --disable-wallet build and --disablewallet mode Console is not showing up in --disable-wallet build and it's crashing in --disablewallet mode before this commit. * Use nullptr * Load a stylesheet for the RPCConsole when it's not going to be set as a central widget This partially reverts the initial commit. * Fix QMainWindow dark/light styles * Avoid implicit pointer to bool conversions * qt: Set RPCConsole's window flags based on wallet availability * multi-line early returns * Bring back ifdef to fix a recently introduced crash Introduced in dashpay@2856f46#diff-f63c3d5094d55f88dbd1967774f85838b3aee5a40540b8c82b924574bca772a0R203 Co-authored-by: xdustinface <xdustinfacex@gmail.com>
Console is not showing up in
--disable-walletbuild and dash-qt is crashing in--disablewalletmode currently. This PR should fix both issues.