-
Notifications
You must be signed in to change notification settings - Fork 277
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
refactor: Use template function qOverload in signal-slot connections #257
Conversation
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 c8169f4
The use of qOverload
is correct and is a nice simplication. Tested that behavior remains the same.
This commit does not change behavior.
c8169f4
to
cdbc2bd
Compare
That is not the case now since bitcoin/bitcoin#21811 is merged. |
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.
utACK cdbc2bd.
I did build on Debian Sid and Debian 10 Buster but did not check any signals in running program. All changes looks clear. Nice upgrade.
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.
Code review ACK cdbc2bd.
Thanks for also updating QOverload<T>::of
in intro.cpp.
A nice template function
qOverload
is available for us now (bitcoin/bitcoin#20413, bitcoin/bitcoin#21286).Its usage makes code much more readable.
This PR does not change behavior.