aboutsummaryrefslogtreecommitdiff
path: root/src/qt/qvalidatedlineedit.h
diff options
context:
space:
mode:
author251 <13120787+251Labs@users.noreply.github.com>2018-01-02 01:06:23 +0100
committer251 <13120787+251Labs@users.noreply.github.com>2018-01-02 01:06:23 +0100
commit6dda059bde0798f54626108beab29d9d3834769c (patch)
tree05892e56aef46f9cd812086527e3d6133de4bdc1 /src/qt/qvalidatedlineedit.h
parent63a4dc10876bfc61c2e87d35dcf17da2f0f8c316 (diff)
downloadbitcoin-6dda059bde0798f54626108beab29d9d3834769c.tar.xz
[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.
Diffstat (limited to 'src/qt/qvalidatedlineedit.h')
0 files changed, 0 insertions, 0 deletions