From 421f57832c5e6ad34921c17cc1ff94c66bde529d Mon Sep 17 00:00:00 2001 From: jwinterm Date: Thu, 18 Jun 2026 19:13:18 -0400 Subject: [PATCH] =?UTF-8?q?wowlet:=20fix=20mining-tab=20QQuickItem=20conne?= =?UTF-8?q?ct;=20wizard=20overhaul=20=E2=80=94=20skip=20first-run=20node-p?= =?UTF-8?q?icker=20(embedded=20node=20default),=20disable=20feather-server?= =?UTF-8?q?=20websocket?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WindowManager.cpp | 14 +++++--------- src/utils/config.cpp | 2 +- src/widgets/MiningWidget.cpp | 1 + 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/WindowManager.cpp b/src/WindowManager.cpp index af52eef3..1b268230 100644 --- a/src/WindowManager.cpp +++ b/src/WindowManager.cpp @@ -58,9 +58,8 @@ WindowManager::WindowManager(QObject *parent) this->showCrashLogs(); - if (!conf()->get(Config::firstRun).toBool() || TailsOS::detect() || WhonixOS::detect()) { - this->onInitialNetworkConfigured(); - } + // wowlet: the embedded local node is configured automatically — skip the first-run network wizard. + this->onInitialNetworkConfigured(); this->startupWarning(); @@ -727,12 +726,9 @@ WalletWizard* WindowManager::createWizard(WalletWizard::Page startPage) { } void WindowManager::initWizard() { - auto startPage = WalletWizard::Page_Menu; - if (conf()->get(Config::firstRun).toBool() && !(TailsOS::detect() || WhonixOS::detect())) { - startPage = WalletWizard::Page_Network; - } - - this->showWizard(startPage); + // wowlet: go straight to wallet creation — wowlet runs its own node by default, so the first-run + // node-picker + third-party-data screens are skipped. Node/remote options live in Settings. + this->showWizard(WalletWizard::Page_Menu); } void WindowManager::showWizard(WalletWizard::Page startPage) { diff --git a/src/utils/config.cpp b/src/utils/config.cpp index 47ab08d9..f13e3b44 100644 --- a/src/utils/config.cpp +++ b/src/utils/config.cpp @@ -78,7 +78,7 @@ static const QHash configStrings = { {Config::lockOnMinimize, {QS("lockOnMinimize"), false}}, {Config::showTrayIcon, {QS("showTrayIcon"), true}}, {Config::minimizeToTray, {QS("minimizeToTray"), false}}, - {Config::disableWebsocket, {QS("disableWebsocket"), false}}, + {Config::disableWebsocket, {QS("disableWebsocket"), true}}, // wowlet: no Feather-server phone-home (prices via neroswap, node is local) {Config::offlineMode, {QS("offlineMode"), false}}, // Transactions diff --git a/src/widgets/MiningWidget.cpp b/src/widgets/MiningWidget.cpp index 58139486..08af0816 100644 --- a/src/widgets/MiningWidget.cpp +++ b/src/widgets/MiningWidget.cpp @@ -7,6 +7,7 @@ #include #include +#include #include MiningWidget::MiningWidget(Wallet *wallet, QWidget *parent)