]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
any better? about the same
authorgg <chown_tee@proton.me>
Sun, 18 Jan 2026 03:56:28 +0000 (22:56 -0500)
committergg <chown_tee@proton.me>
Sun, 18 Jan 2026 03:56:28 +0000 (22:56 -0500)
src/MainWindow.cpp
src/utils/nodes.cpp

index 94bb7c79d77bcb9c078f3b5e4041a9796672c6ac..0d438cc5f086db9e037e18aa769cd026c3e9a9d8 100644 (file)
@@ -608,8 +608,8 @@ void MainWindow::initOffline() {
     connect(m_updateNetworkInfoAction, &QAction::triggered, this, [this]() {
         if (!m_wallet) return;
 
-        this->setStatusText(tr("Scanning..."));
-        
+        this->setStatusText(tr("Scanning..."), true);
+
         // FIX: Temporarily connect if we are disconnected/paused
         if (m_wallet->connectionStatus() == Wallet::ConnectionStatus_Disconnected) {
              m_nodes->connectToNode();
@@ -1152,7 +1152,11 @@ void MainWindow::onConnectionStatusChanged(int status)
                 statusStr = "Synchronizing";
                 break;
             case Wallet::ConnectionStatus_Synchronized:
-                icon = icons()->icon("status_connected.svg");
+                if (conf()->get(Config::proxy).toInt() == Config::Proxy::Tor) {
+                    icon = icons()->icon("status_connected_proxy.svg");
+                } else {
+                    icon = icons()->icon("status_connected.svg");
+                }
                 statusStr = "Synchronized";
                 break;
             default:
index 74ec08053d5cab6f4e333329c98beff865e20107..5ca8616b3d94562d2e0cce2f037a57b020b79632 100644 (file)
@@ -659,7 +659,9 @@ void Nodes::onConnectionStatusChanged(int status) {
             qInfo() << "Nodes: Wallet disconnected unexpectedly, triggering auto-connect to new node.";
             // Fix J: Mark connection as inactive so autoConnect treats it as a failure, not a transient disconnect
             m_connection.isActive = false;
-            this->autoConnect(false);
+            QTimer::singleShot(1000, [this]{
+                this->autoConnect(false);
+            });
         }
     }
 }