Page MenuHomePhabricator

gui: Make RPCConsole::TabTypes an enum class
ClosedPublic

Authored by PiRK on Oct 28 2020, 16:26.

Details

Reviewers
majcosta
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABC95c8ebac0498: 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.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable