From: tobtoht Date: Fri, 4 Mar 2022 22:01:47 +0000 (+0100) Subject: Reduce console logging spam X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=69a13449fa5188d46793cb04ee96afb9853b9d15;p=gamesguru%2Ffeather.git Reduce console logging spam --- diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 3f82152b..81224dfb 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -487,8 +487,6 @@ void MainWindow::onWalletOpened() { } void MainWindow::onBalanceUpdated(quint64 balance, quint64 spendable) { - qDebug() << Q_FUNC_INFO; - bool hide = config()->get(Config::hideBalance).toBool(); int displaySetting = config()->get(Config::balanceDisplay).toInt(); int decimals = config()->get(Config::amountPrecision).toInt(); diff --git a/src/appcontext.cpp b/src/appcontext.cpp index b204b6bd..06db5949 100644 --- a/src/appcontext.cpp +++ b/src/appcontext.cpp @@ -258,8 +258,6 @@ void AppContext::onWalletRefreshed(bool success, const QString &message) { // store wallet immediately upon finishing synchronization this->wallet->store(); } - - qDebug() << "Wallet refresh status: " << success; } void AppContext::onWalletNewBlock(quint64 blockheight, quint64 targetHeight) { @@ -274,8 +272,6 @@ void AppContext::onWalletNewBlock(quint64 blockheight, quint64 targetHeight) { } void AppContext::onHeightRefreshed(quint64 walletHeight, quint64 daemonHeight, quint64 targetHeight) { - qDebug() << Q_FUNC_INFO << walletHeight << daemonHeight << targetHeight; - if (this->wallet->connectionStatus() == Wallet::ConnectionStatus_Disconnected) return; diff --git a/src/libwalletqt/WalletListenerImpl.cpp b/src/libwalletqt/WalletListenerImpl.cpp index 7b403ccc..34fe9f64 100644 --- a/src/libwalletqt/WalletListenerImpl.cpp +++ b/src/libwalletqt/WalletListenerImpl.cpp @@ -44,7 +44,6 @@ void WalletListenerImpl::updated() // called when wallet refreshed by background thread or explicitly void WalletListenerImpl::refreshed(bool success) { - qDebug() << __FUNCTION__; QString message = m_wallet->errorString(); m_wallet->onRefreshed(success); emit m_wallet->refreshed(success, message);