Browse Source

qt: Remove on_toggleNetworkActiveButton_clicked from RPCConsole

There is no network toggle button (anymore?) in the RPC console.
Removes another warning (#9250).
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
f36349e898
  1. 5
      src/qt/rpcconsole.cpp
  2. 2
      src/qt/rpcconsole.h

5
src/qt/rpcconsole.cpp

@ -1089,8 +1089,3 @@ void RPCConsole::setTabFocus(enum TabTypes tabType) @@ -1089,8 +1089,3 @@ void RPCConsole::setTabFocus(enum TabTypes tabType)
{
ui->tabWidget->setCurrentIndex(tabType);
}
void RPCConsole::on_toggleNetworkActiveButton_clicked()
{
clientModel->setNetworkActive(!clientModel->getNetworkActive());
}

2
src/qt/rpcconsole.h

@ -62,8 +62,6 @@ protected: @@ -62,8 +62,6 @@ protected:
private Q_SLOTS:
void on_lineEdit_returnPressed();
void on_tabWidget_currentChanged(int index);
/** toggle network activity */
void on_toggleNetworkActiveButton_clicked();
/** open the debug.log from the current datadir */
void on_openDebugLogfileButton_clicked();
/** change the time range of the network traffic graph */

Loading…
Cancel
Save