Get old working code back

qt/peertablemodel.cpp
This commit is contained in:
lateminer
2018-12-02 01:54:55 +03:00
parent 57a4a3733e
commit 3eab403769

View File

@@ -117,7 +117,7 @@ PeerTableModel::PeerTableModel(ClientModel *parent) :
timer(0)
{
columns << tr("NodeId") << tr("Node/Service") << tr("User Agent") << tr("Ping Time");
priv = new PeerTablePriv();
priv.reset(new PeerTablePriv());
// default to unsorted
priv->sortColumn = -1;