mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-02 09:46:52 -05:00
Merge #16514: gui: Remove unused RPCConsole::tabFocus
b078067b9c
gui: Remove unused RPCConsole::tabFocus (João Barbosa) Pull request description: Added in #14573 but not used, so begone. ACKs for top commit: practicalswift: utACKb078067b9c
hebasto: ACKb078067b9c
laanwj: ACKb078067b9c
, there's nothing really to test here Tree-SHA512: 237276dea4d174b5fca34855447146f79c3faaae7179f4245c70e2070b49282d95f886b1be6d2a33713c81a254f4483a4e4bf850053a8dcb18a3a897bd3da08e
This commit is contained in:
commit
75656988ac
2 changed files with 0 additions and 6 deletions
|
@ -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);
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue