diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-12-07 05:55:16 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-12-07 05:55:16 +0100 |
| commit | f36349e89814d25b12ec34ac5228462e8632e3ac (patch) | |
| tree | 4e20a1ec1d28b77fad79b640d6115a6c11af5a6f | |
| parent | qt: layoutAboutToChange signal is called layoutAboutToBeChanged (diff) | |
| download | discoin-f36349e89814d25b12ec34ac5228462e8632e3ac.tar.xz discoin-f36349e89814d25b12ec34ac5228462e8632e3ac.zip | |
qt: Remove on_toggleNetworkActiveButton_clicked from RPCConsole
There is no network toggle button (anymore?) in the RPC console.
Removes another warning (#9250).
| -rw-r--r-- | src/qt/rpcconsole.cpp | 5 | ||||
| -rw-r--r-- | src/qt/rpcconsole.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index e87de158a..2538c7d4c 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -1089,8 +1089,3 @@ void RPCConsole::setTabFocus(enum TabTypes tabType) { ui->tabWidget->setCurrentIndex(tabType); } - -void RPCConsole::on_toggleNetworkActiveButton_clicked() -{ - clientModel->setNetworkActive(!clientModel->getNetworkActive()); -} diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h index 344d5ecb9..ab8c3dc91 100644 --- a/src/qt/rpcconsole.h +++ b/src/qt/rpcconsole.h @@ -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 */ |