Skip to content

Commit b078067

Browse files
committed
gui: Remove unused RPCConsole::tabFocus
1 parent 5639d71 commit b078067

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/qt/rpcconsole.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,11 +1265,6 @@ void RPCConsole::showOrHideBanTableIfRequired()
12651265
ui->banHeading->setVisible(visible);
12661266
}
12671267

1268-
RPCConsole::TabTypes RPCConsole::tabFocus() const
1269-
{
1270-
return (TabTypes) ui->tabWidget->currentIndex();
1271-
}
1272-
12731268
void RPCConsole::setTabFocus(enum TabTypes tabType)
12741269
{
12751270
ui->tabWidget->setCurrentIndex(tabType);

src/qt/rpcconsole.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ class RPCConsole: public QWidget
6767

6868
std::vector<TabTypes> tabs() const { return {TAB_INFO, TAB_CONSOLE, TAB_GRAPH, TAB_PEERS}; }
6969

70-
TabTypes tabFocus() const;
7170
QString tabTitle(TabTypes tab_type) const;
7271

7372
protected:

0 commit comments

Comments
 (0)