]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
small lint fixes
authorgg <chown_tee@proton.me>
Mon, 12 Jan 2026 14:33:39 +0000 (09:33 -0500)
committergg <chown_tee@proton.me>
Mon, 12 Jan 2026 14:33:39 +0000 (09:33 -0500)
src/MainWindow.cpp
src/libwalletqt/Wallet.cpp

index 14ed0109ea1d8a008d607af783b9a55047d0a447..88624dfa3b1f30e2e786ec4b9e5ae332f200e939 100644 (file)
@@ -332,11 +332,13 @@ void MainWindow::initStatusBar() {
             uint64_t startHeight = lookup->dateToHeight(fromDateEdit->date().startOfDay().toSecsSinceEpoch());
             uint64_t endHeight = lookup->dateToHeight(toDateEdit->date().endOfDay().toSecsSinceEpoch());
             quint64 blocks = (endHeight > startHeight) ? endHeight - startHeight : 0;
+            quint64 size = Utils::estimateSyncDataSize(blocks);
 
-            this->setStatusText(tr("Syncing range %1 - %2 (~%3 blocks)...")
+            this->setStatusText(tr("Syncing range %1 - %2 (~%3 blocks)\nEst. download size: %4")
                                 .arg(fromDateEdit->date().toString("yyyy-MM-dd"))
                                 .arg(toDateEdit->date().toString("yyyy-MM-dd"))
-                                .arg(QLocale().toString(blocks)));
+                                .arg(QLocale().toString(blocks))
+                                .arg(Utils::formatBytes(size)));
         }
     });
 
index f43605e89eb8682e83282427c2d7afcde5ec49b5..8f3c8a9330b4727f0a26a731a6e8aaa5d3cf7a8e 100644 (file)
@@ -443,7 +443,6 @@ void Wallet::initAsync(const QString &daemonAddress, bool trustedDaemon, quint64
 // #################### Synchronization (Refresh) ####################
 
 void Wallet::startRefresh() {
-    m_refreshEnabled = true;
     m_refreshEnabled = true;
     m_refreshNow = true;
 }