mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
qt: layoutAboutToChange signal is called layoutAboutToBeChanged
This was misnamed, resulting in a warning message and missing functionality. I'm not sure what the change in behavior will be here, this needs testing. Also remove connection to non-existing slot "test". This was used for testing if the signal arrived. It is no longer necessary. Fixes: 2016-12-01 10:04:06 GUI: QObject::connect: No such signal PeerTableModel::layoutAboutToChange() in qt/rpcconsole.cpp:518 2016-12-01 10:04:06 GUI: QObject::connect: (receiver name: 'RPCConsole') 2016-12-01 10:04:06 GUI: QObject::connect: No such slot RPCConsole::test() in qt/rpcconsole.cpp:781 2016-12-01 10:04:06 GUI: QObject::connect: (receiver name: 'RPCConsole')
This commit is contained in:
parent
3bf06e9bac
commit
297cc20e70
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user