]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
Reduce console logging spam
authortobtoht <thotbot@protonmail.com>
Fri, 4 Mar 2022 22:01:47 +0000 (23:01 +0100)
committertobtoht <thotbot@protonmail.com>
Fri, 4 Mar 2022 22:01:47 +0000 (23:01 +0100)
src/MainWindow.cpp
src/appcontext.cpp
src/libwalletqt/WalletListenerImpl.cpp

index 3f82152b6b9282b0712dd549cc52c5b59c9d8c12..81224dfb65baf0372334cfa34c54b5f25600534f 100644 (file)
@@ -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();
index b204b6bdd87dea2e6464bfcf427746c4086eedce..06db5949e6596621610bc4b5bad2553bac501241 100644 (file)
@@ -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;
 
index 7b403ccc9a8aa0a66e6780ef4b9c944e9c5be16f..34fe9f64404f6dbe3eb379b1d08f5a92be824eb1 100644 (file)
@@ -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);