Skip to content

Commit 7565698

Browse files
committed
Merge #16514: gui: Remove unused RPCConsole::tabFocus
b078067 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 b078067 hebasto: ACK b078067 laanwj: ACK b078067, there's nothing really to test here Tree-SHA512: 237276dea4d174b5fca34855447146f79c3faaae7179f4245c70e2070b49282d95f886b1be6d2a33713c81a254f4483a4e4bf850053a8dcb18a3a897bd3da08e
2 parents 6841b01 + b078067 commit 7565698

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)