]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
formatting
authorgg <chown_tee@proton.me>
Mon, 12 Jan 2026 23:26:55 +0000 (18:26 -0500)
committergg <chown_tee@proton.me>
Mon, 12 Jan 2026 23:26:55 +0000 (18:26 -0500)
src/MainWindow.cpp

index fc1decf830929dee62f4552c92e5b54d0c7edd9d..f889316295f89ddc98863a6e484bb6c8cf95b356 100644 (file)
@@ -649,16 +649,16 @@ void MainWindow::initOffline() {
             ui->radio_airgapUR->setChecked(true);
     }
 
-    connect(m_updateNetworkInfoAction, &QAction::triggered, this, [this](){
+    connect(m_updateNetworkInfoAction, &QAction::triggered, this, [this]() {
         if (!m_wallet) return;
         m_wallet->updateNetworkStatus();
     });
 
-    connect(m_wallet, &Wallet::heightsRefreshed, this, [this](bool success, quint64 daemonHeight, quint64 targetHeight){
-         if (conf()->get(Config::syncPaused).toBool()) {
-             qInfo() << "Heights refreshed (Paused): Daemon" << daemonHeight << "Target" << targetHeight;
-             this->setPausedSyncStatus();
-         }
+    connect(m_wallet, &Wallet::heightsRefreshed, this, [this](bool success, quint64 daemonHeight, quint64 targetHeight) {
+        if (conf()->get(Config::syncPaused).toBool()) {
+            qInfo() << "Heights refreshed (Paused): Daemon" << daemonHeight << "Target" << targetHeight;
+            this->setPausedSyncStatus();
+        }
     });
 
     // We do NOT want to start syncing yet here, wait for wallet to be opened
@@ -865,9 +865,9 @@ void MainWindow::setPausedSyncStatus() {
 
     // Log variables for debugging 149 vs 814k discrepancy
     if (m_wallet) {
-         qWarning() << "Paused Status Calc: WalletHeight:" << m_wallet->blockChainHeight() 
-                    << "DaemonHeight:" << m_wallet->daemonBlockChainHeight() 
-                    << "TargetHeight:" << m_wallet->daemonBlockChainTargetHeight();
+        qWarning() << "Paused Status Calc: WalletHeight:" << m_wallet->blockChainHeight()
+                   << "DaemonHeight:" << m_wallet->daemonBlockChainHeight()
+                   << "TargetHeight:" << m_wallet->daemonBlockChainTargetHeight();
     }
 
     this->setStatusText(status);