HomePhabricator

gui: Make RPCConsole::TabTypes an enum class

Description

gui: Make RPCConsole::TabTypes an enum class

Summary:

This change makes the compiler emit a warning/error if a missing enum value is not handled.

This is a backport of Core PR17105

Test Plan:
ninja && src/qt/bitcoin-qt
Test the keyboard shortcuts related to the RPC console tabs.

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, majcosta

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D8159

Details

Provenance
João Barbosa <joao.paulo.barbosa@gmail.com>Authored on Oct 28 2020, 20:35
PiRKCommitted on Oct 28 2020, 20:35
abc-botPushed on Oct 28 2020, 20:41
Reviewer
Restricted Owners Package
Differential Revision
D8159: gui: Make RPCConsole::TabTypes an enum class
Parents
rABC326b3c7453b9: Clean systray icon menu for -disablewallet mode
Branches
Unknown
Tags
Unknown