[qt] Simplifies boolean expression model && model->haveWatchOnly()
The boolean expression model && model->haveWatchOnly() can be simplified to model->haveWatchOnly(), because if (!model || !model->getOptionsModel()) { return; } guards against a potential dereferenced null pointer.
6dda059bde
dcousens approved
unknown approved
fanquake added the label GUI on Jan 2, 2018
promag
commented at 2:15 AM on January 2, 2018:
member
ACK6dda059.
fanquake deleted a comment on Jan 2, 2018
MarcoFalke added the label Refactoring on Jan 2, 2018
jonasschnelli
commented at 7:57 AM on January 4, 2018:
contributor
utACK6dda059bde0798f54626108beab29d9d3834769c
jonasschnelli merged this on Jan 4, 2018
jonasschnelli closed this on Jan 4, 2018
jonasschnelli referenced this in commit a1136f0cb4 on Jan 4, 2018
l2a5b1 deleted the branch on Jan 4, 2018
PastaPastaPasta referenced this in commit 1414729d19 on Jan 17, 2020
PastaPastaPasta referenced this in commit 15efe46dec on Jan 22, 2020
PastaPastaPasta referenced this in commit 0e2634f948 on Jan 22, 2020
PastaPastaPasta referenced this in commit 20edadace3 on Jan 29, 2020
PastaPastaPasta referenced this in commit c841555df3 on Jan 29, 2020
PastaPastaPasta referenced this in commit c3a1f928ea on Jan 29, 2020
PastaPastaPasta referenced this in commit 291051f209 on Jan 31, 2020
ckti referenced this in commit fcf7027e9b on Mar 28, 2021
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:15 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me