mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-09 19:13:28 +02:00
qt, doc: Remove unneeded comments
Function names are self-described.
This commit is contained in:
@@ -240,7 +240,6 @@ void ClientModel::TipChanged(SynchronizationState sync_state, interfaces::BlockT
|
|||||||
|
|
||||||
void ClientModel::subscribeToCoreSignals()
|
void ClientModel::subscribeToCoreSignals()
|
||||||
{
|
{
|
||||||
// Connect signals to client
|
|
||||||
m_handler_show_progress = m_node.handleShowProgress(
|
m_handler_show_progress = m_node.handleShowProgress(
|
||||||
[this](const std::string& title, int progress, [[maybe_unused]] bool resume_possible) {
|
[this](const std::string& title, int progress, [[maybe_unused]] bool resume_possible) {
|
||||||
Q_EMIT showProgress(QString::fromStdString(title), progress);
|
Q_EMIT showProgress(QString::fromStdString(title), progress);
|
||||||
@@ -275,7 +274,6 @@ void ClientModel::subscribeToCoreSignals()
|
|||||||
|
|
||||||
void ClientModel::unsubscribeFromCoreSignals()
|
void ClientModel::unsubscribeFromCoreSignals()
|
||||||
{
|
{
|
||||||
// Disconnect signals from client
|
|
||||||
m_handler_show_progress->disconnect();
|
m_handler_show_progress->disconnect();
|
||||||
m_handler_notify_num_connections_changed->disconnect();
|
m_handler_notify_num_connections_changed->disconnect();
|
||||||
m_handler_notify_network_active_changed->disconnect();
|
m_handler_notify_network_active_changed->disconnect();
|
||||||
|
Reference in New Issue
Block a user