mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-26 23:45:54 +01:00
qt: Use new Qt5 connect syntax
This commit is contained in:
@@ -113,7 +113,7 @@ PeerTableModel::PeerTableModel(interfaces::Node& node, ClientModel *parent) :
|
||||
|
||||
// set up timer for auto refresh
|
||||
timer = new QTimer(this);
|
||||
connect(timer, SIGNAL(timeout()), SLOT(refresh()));
|
||||
connect(timer, &QTimer::timeout, this, &PeerTableModel::refresh);
|
||||
timer->setInterval(MODEL_UPDATE_DELAY);
|
||||
|
||||
// load initial data
|
||||
|
||||
Reference in New Issue
Block a user