diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index af78cb0ab9..a346c7ca4d 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -1435,11 +1435,6 @@ void RPCConsole::showOrHideBanTableIfRequired() ui->banHeading->setVisible(visible); } -RPCConsole::TabTypes RPCConsole::tabFocus() const -{ - return (TabTypes) ui->stackedWidgetRPC->currentIndex(); -} - void RPCConsole::setTabFocus(enum TabTypes tabType) { showPage(tabType); diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h index 9ef7d3f7fb..ccc4e9128e 100644 --- a/src/qt/rpcconsole.h +++ b/src/qt/rpcconsole.h @@ -69,7 +69,6 @@ public: std::vector tabs() const { return {TAB_INFO, TAB_CONSOLE, TAB_GRAPH, TAB_PEERS, TAB_REPAIR}; } - TabTypes tabFocus() const; QString tabTitle(TabTypes tab_type) const; protected: