From 792945ae8fb0102b772c44b68781347437379635 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sat, 14 Sep 2019 10:44:56 -0400 Subject: [PATCH] Render local services in hushd tab --- src/mainwindow.ui | 22 ++++++++++++++++++++++ src/rpc.cpp | 2 ++ 2 files changed, 24 insertions(+) diff --git a/src/mainwindow.ui b/src/mainwindow.ui index 8ecce08..80ea7e6 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -1223,6 +1223,28 @@ + + + + Local Services + + + + + + + Loading... + + + + + + + | + + + + diff --git a/src/rpc.cpp b/src/rpc.cpp index cde0b7a..dbc9645 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -654,8 +654,10 @@ void RPC::getInfoThenRefresh(bool force) { conn->doRPCIgnoreError(payload, [=](const json& reply) { QString clientname = QString::fromStdString( reply["subversion"].get() ); + QString localservices = QString::fromStdString( reply["localservices"].get() ); ui->clientname->setText(clientname); + ui->localservices->setText(localservices); }); // Call to see if the blockchain is syncing.