HomePhabricator

Update qt/peertablemodel.cpp with Qt5 connect synax

Description

Update qt/peertablemodel.cpp with Qt5 connect synax

Summary:
Updates to use Qt5 connect syntax over Qt4.
See https://wiki.qt.io/New_Signal_Slot_Syntax for details.

Partial backport of Core PR13529
https://github.com/bitcoin/bitcoin/pull/13529/commits/f78558f1e39198779bdb17e2b0e256fb99ad4b28#diff-a9100e8bfc1122159ae47eb2d2f3e6cf

Test Plan:

make check
./bitcoin-qt
Help -> Debug -> Peers

pr13529-peertablemodel.png (547×992 px, 43 KB)

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D4318