Merge #16514: gui: Remove unused RPCConsole::tabFocus

b078067b9c2aa1d259395198005fab470ea4e39d 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 b078067b9c2aa1d259395198005fab470ea4e39d
  hebasto:
    ACK b078067b9c2aa1d259395198005fab470ea4e39d
  laanwj:
    ACK b078067b9c2aa1d259395198005fab470ea4e39d, there's nothing really to test here

Tree-SHA512: 237276dea4d174b5fca34855447146f79c3faaae7179f4245c70e2070b49282d95f886b1be6d2a33713c81a254f4483a4e4bf850053a8dcb18a3a897bd3da08e
This commit is contained in:
Wladimir J. van der Laan 2019-08-01 12:41:39 +02:00 committed by Munkybooty
parent 48825dbfd3
commit b08bcee9fd
2 changed files with 0 additions and 6 deletions

View File

@ -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);

View File

@ -69,7 +69,6 @@ public:
std::vector<TabTypes> tabs() const { return {TAB_INFO, TAB_CONSOLE, TAB_GRAPH, TAB_PEERS, TAB_REPAIR}; }
TabTypes tabFocus() const;
QString tabTitle(TabTypes tab_type) const;
protected: