@ -515,7 +515,7 @@ void RPCConsole::setClientModel(ClientModel *model)
// peer table signal handling - update peer details when new nodes are added to the model
// peer table signal handling - update peer details when new nodes are added to the model
connect ( model - > getPeerTableModel ( ) , SIGNAL ( layoutChanged ( ) ) , this , SLOT ( peerLayoutChanged ( ) ) ) ;
connect ( model - > getPeerTableModel ( ) , SIGNAL ( layoutChanged ( ) ) , this , SLOT ( peerLayoutChanged ( ) ) ) ;
// peer table signal handling - cache selected node ids
// peer table signal handling - cache selected node ids
connect ( model - > getPeerTableModel ( ) , SIGNAL ( layoutAboutToChange ( ) ) , this , SLOT ( peerLayoutAboutToChange ( ) ) ) ;
connect ( model - > getPeerTableModel ( ) , SIGNAL ( layoutAboutToBe Changed ( ) ) , this , SLOT ( peerLayoutAboutToChange ( ) ) ) ;
// set up ban table
// set up ban table
ui - > banlistWidget - > setModel ( model - > getBanTableModel ( ) ) ;
ui - > banlistWidget - > setModel ( model - > getBanTableModel ( ) ) ;
@ -778,7 +778,6 @@ void RPCConsole::startExecutor()
connect ( this , SIGNAL ( stopExecutor ( ) ) , & thread , SLOT ( quit ( ) ) ) ;
connect ( this , SIGNAL ( stopExecutor ( ) ) , & thread , SLOT ( quit ( ) ) ) ;
// - queue executor for deletion (in execution thread)
// - queue executor for deletion (in execution thread)
connect ( & thread , SIGNAL ( finished ( ) ) , executor , SLOT ( deleteLater ( ) ) , Qt : : DirectConnection ) ;
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,
// Default implementation of QThread::run() simply spins up an event loop in the thread,
// which is what we want.
// which is what we want.
@ -1090,8 +1089,3 @@ void RPCConsole::setTabFocus(enum TabTypes tabType)
{
{
ui - > tabWidget - > setCurrentIndex ( tabType ) ;
ui - > tabWidget - > setCurrentIndex ( tabType ) ;
}
}
void RPCConsole : : on_toggleNetworkActiveButton_clicked ( )
{
clientModel - > setNetworkActive ( ! clientModel - > getNetworkActive ( ) ) ;
}