gui: Remove unused RPCConsole::tabFocus

This commit is contained in:
João Barbosa 2019-07-31 23:19:03 +01:00
parent 5639d71a07
commit b078067b9c
2 changed files with 0 additions and 6 deletions

View file

@ -1265,11 +1265,6 @@ void RPCConsole::showOrHideBanTableIfRequired()
ui->banHeading->setVisible(visible); ui->banHeading->setVisible(visible);
} }
RPCConsole::TabTypes RPCConsole::tabFocus() const
{
return (TabTypes) ui->tabWidget->currentIndex();
}
void RPCConsole::setTabFocus(enum TabTypes tabType) void RPCConsole::setTabFocus(enum TabTypes tabType)
{ {
ui->tabWidget->setCurrentIndex(tabType); ui->tabWidget->setCurrentIndex(tabType);

View file

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