Merge #9255: qt: layoutAboutToChange signal is called layoutAboutToBeChanged
f36349e
qt: Remove on_toggleNetworkActiveButton_clicked from RPCConsole (Wladimir J. van der Laan)297cc20
qt: layoutAboutToChange signal is called layoutAboutToBeChanged (Wladimir J. van der Laan)
This commit is contained in:
commit
9851a8461d
2 changed files with 1 additions and 9 deletions
|
@ -515,7 +515,7 @@ void RPCConsole::setClientModel(ClientModel *model)
|
|||
// peer table signal handling - update peer details when new nodes are added to the model
|
||||
connect(model->getPeerTableModel(), SIGNAL(layoutChanged()), this, SLOT(peerLayoutChanged()));
|
||||
// peer table signal handling - cache selected node ids
|
||||
connect(model->getPeerTableModel(), SIGNAL(layoutAboutToChange()), this, SLOT(peerLayoutAboutToChange()));
|
||||
connect(model->getPeerTableModel(), SIGNAL(layoutAboutToBeChanged()), this, SLOT(peerLayoutAboutToChange()));
|
||||
|
||||
// set up ban table
|
||||
ui->banlistWidget->setModel(model->getBanTableModel());
|
||||
|
@ -778,7 +778,6 @@ void RPCConsole::startExecutor()
|
|||
connect(this, SIGNAL(stopExecutor()), &thread, SLOT(quit()));
|
||||
// - queue executor for deletion (in execution thread)
|
||||
connect(&thread, SIGNAL(finished()), executor, SLOT(deleteLater()), Qt::DirectConnection);
|
||||
connect(&thread, SIGNAL(finished()), this, SLOT(test()), Qt::DirectConnection);
|
||||
|
||||
// Default implementation of QThread::run() simply spins up an event loop in the thread,
|
||||
// which is what we want.
|
||||
|
@ -1090,8 +1089,3 @@ void RPCConsole::setTabFocus(enum TabTypes tabType)
|
|||
{
|
||||
ui->tabWidget->setCurrentIndex(tabType);
|
||||
}
|
||||
|
||||
void RPCConsole::on_toggleNetworkActiveButton_clicked()
|
||||
{
|
||||
clientModel->setNetworkActive(!clientModel->getNetworkActive());
|
||||
}
|
||||
|
|
|
@ -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…
Reference in a new issue