-
Notifications
You must be signed in to change notification settings - Fork 38.8k
gui: Remove unused RPCConsole::tabFocus #16514
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
Conversation
|
Maybe it's better to comment it out so we can use it if may need it in future (If that's a thing in this project). |
|
IMO better is to kill unused code. It's also easy to bring this back, if needed. |
|
utACK b078067 |
|
It perfectly removes it, utACK |
|
@practicalswift @emilengler please take a new look at CONTRIBUTING.md#peer-review, it was recently updated in #16149. |
|
@promag Didn't knew it, then |
|
ACK b078067 |
|
ACK b078067, there's nothing really to test here
I think if we don't expect it to be necessary at some point it's better to remove it. |
b078067 gui: Remove unused RPCConsole::tabFocus (João Barbosa) Pull request description: Added in #14573 but not used, so begone. ACKs for top commit: practicalswift: utACK b078067 hebasto: ACK b078067 laanwj: ACK b078067, there's nothing really to test here Tree-SHA512: 237276dea4d174b5fca34855447146f79c3faaae7179f4245c70e2070b49282d95f886b1be6d2a33713c81a254f4483a4e4bf850053a8dcb18a3a897bd3da08e
Summary: Overall this PR does the following: - add top level menu Window - add Minimize and Zoom actions to Window menu - move Sending/Receiving address to Window - remove Help->Debug menu and add one menu entry for each debug window tab in the Window menu The ellipsis in the name of `Sending/Receiving addresses` actions are be removed, according to common practices (https://stackoverflow.com/a/637708). Ellipsis at the end of the name of menu actions suggest that user input is expected. Backport of Core [[bitcoin/bitcoin#14573 | PR14573]] and [[bitcoin/bitcoin#16514 | PR16514]] [[bitcoin/bitcoin#16514 | PR16514]] removes the `RPCConsole::tabFocus` method introduced in the first PR, but never used. Test Plan: `ninja && ninja check` Run `src/qt/bitcoin-qt` and check that all menu actions work. Reviewers: O1 Bitcoin ABC, #bitcoin_abc, Fabien Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, Fabien Subscribers: Fabien Differential Revision: https://reviews.bitcoinabc.org/D7892
Summary: Overall this PR does the following: - add top level menu Window - add Minimize and Zoom actions to Window menu - move Sending/Receiving address to Window - remove Help->Debug menu and add one menu entry for each debug window tab in the Window menu The ellipsis in the name of `Sending/Receiving addresses` actions are be removed, according to common practices (https://stackoverflow.com/a/637708). Ellipsis at the end of the name of menu actions suggest that user input is expected. Backport of Core [[bitcoin/bitcoin#14573 | PR14573]] and [[bitcoin/bitcoin#16514 | PR16514]] [[bitcoin/bitcoin#16514 | PR16514]] removes the `RPCConsole::tabFocus` method introduced in the first PR, but never used. Test Plan: `ninja && ninja check` Run `src/qt/bitcoin-qt` and check that all menu actions work. Reviewers: O1 Bitcoin ABC, #bitcoin_abc, Fabien Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, Fabien Subscribers: Fabien Differential Revision: https://reviews.bitcoinabc.org/D7892
b078067 gui: Remove unused RPCConsole::tabFocus (João Barbosa) Pull request description: Added in bitcoin#14573 but not used, so begone. ACKs for top commit: practicalswift: utACK b078067 hebasto: ACK b078067 laanwj: ACK b078067, there's nothing really to test here Tree-SHA512: 237276dea4d174b5fca34855447146f79c3faaae7179f4245c70e2070b49282d95f886b1be6d2a33713c81a254f4483a4e4bf850053a8dcb18a3a897bd3da08e
Added in #14573 but not used, so begone.