aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-04-10 19:02:29 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-04-16 18:59:17 +0200
commitbcbf982553aba8107fdb0db413d4b9fe8adc8f17 (patch)
treeb89b3e22d302b32a14e7c72daedc75ee1dd16927 /src/qt
parent9bd1565f6501c81291b286cdfaecd0daf8981c75 (diff)
downloadbitcoin-bcbf982553aba8107fdb0db413d4b9fe8adc8f17.tar.xz
qt, doc: Remove unneeded comments
Function names are self-described.
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/clientmodel.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp
index cdab2093d4..f41da519df 100644
--- a/src/qt/clientmodel.cpp
+++ b/src/qt/clientmodel.cpp
@@ -240,7 +240,6 @@ void ClientModel::TipChanged(SynchronizationState sync_state, interfaces::BlockT
void ClientModel::subscribeToCoreSignals()
{
- // Connect signals to client
m_handler_show_progress = m_node.handleShowProgress(
[this](const std::string& title, int progress, [[maybe_unused]] bool resume_possible) {
Q_EMIT showProgress(QString::fromStdString(title), progress);
@@ -275,7 +274,6 @@ void ClientModel::subscribeToCoreSignals()
void ClientModel::unsubscribeFromCoreSignals()
{
- // Disconnect signals from client
m_handler_show_progress->disconnect();
m_handler_notify_num_connections_changed->disconnect();
m_handler_notify_network_active_changed->disconnect();