From: gg Date: Mon, 12 Jan 2026 14:33:39 +0000 (-0500) Subject: small lint fixes X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=810adb30e39a7f1882be69446a1aa9d15e485e9e;p=gamesguru%2Ffeather.git small lint fixes --- diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 14ed0109..88624dfa 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -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))); } }); diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index f43605e8..8f3c8a93 100644 --- a/src/libwalletqt/Wallet.cpp +++ b/src/libwalletqt/Wallet.cpp @@ -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; }