Page MenuHomePhabricator

Various nits in the Qt code
ClosedPublic

Authored by deadalnix on Jul 4 2019, 19:42.

Details

Summary

As per title.

Test Plan

Run bitcoin-qt and perform various actions. It looks like it is working.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
qtbraces
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6670
Build 11387: Bitcoin ABC Buildbot (legacy)
Build 11386: arc lint + arc unit

Event Timeline

markblundeberg added a subscriber: markblundeberg.

Is there a better way to do those else clauses? Otherwise all good...

src/qt/sendcoinsentry.cpp
231

These broken up else clauses feel a bit nasty to me ... is this considered good style?

This revision now requires changes to proceed.Jul 5 2019, 16:26
deadalnix added inline comments.
src/qt/sendcoinsentry.cpp
231

This is what is used in other parts of the codebase, such as net_processing.cpp

markblundeberg added inline comments.
src/qt/sendcoinsentry.cpp
231

OK then :)

This revision is now accepted and ready to land.Jul 6 2019, 20:26
This revision was automatically updated to reflect the committed changes.